X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=contrib%2Fprtview%2FAboutDialog.cpp;h=1c6b735f5dd32c618e52d2cd20a41ef9c129ed7e;hp=5c7ce5ff6913b17619e0bbfdec710a85cd63309c;hb=53bb8dbf01b4b801d15fb15eed4b3df97fdf5e13;hpb=08d558e1a4d6439b2accaee830e54e8036acdc27;ds=sidebyside diff --git a/contrib/prtview/AboutDialog.cpp b/contrib/prtview/AboutDialog.cpp index 5c7ce5ff..1c6b735f 100644 --- a/contrib/prtview/AboutDialog.cpp +++ b/contrib/prtview/AboutDialog.cpp @@ -19,9 +19,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "AboutDialog.h" #include +#include #include "version.h" +#include "gtkutil/pointer.h" -#include "PrtView.h" +#include "prtview.h" #include "ConfigDialog.h" static void dialog_button_callback (GtkWidget *widget, gpointer data) @@ -34,7 +36,7 @@ static void dialog_button_callback (GtkWidget *widget, gpointer data) ret = (int*)g_object_get_data (G_OBJECT (parent), "ret"); *loop = 0; - *ret = (int)data; + *ret = gpointer_to_int(data); } static gint dialog_delete_callback (GtkWidget *widget, GdkEvent* event, gpointer data)