]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/camera/dialogs_common.cpp
Fixing Linux SCons build.
[xonotic/netradiant.git] / contrib / camera / dialogs_common.cpp
index bebf597652a8df68be651b886fba8408185400d0..d55e5f0a871d7905e5c23ab016e345ca21b849c4 100644 (file)
@@ -1,51 +1,51 @@
-/*\r
-Copyright (C) 1999-2007 id Software, Inc. and contributors.\r
-For a list of contributors, see the accompanying CONTRIBUTORS file.\r
-\r
-This file is part of GtkRadiant.\r
-\r
-GtkRadiant is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation; either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-GtkRadiant is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with GtkRadiant; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
-*/\r
-\r
-/*\r
-Camera plugin for GtkRadiant\r
-Copyright (C) 2002 Splash Damage Ltd.\r
-*/\r
-\r
-#include "camera.h"\r
-\r
-void dialog_button_callback (GtkWidget *widget, gpointer data)\r
-{\r
-       GtkWidget *parent;\r
-       int *loop, *ret;\r
\r
-       parent = gtk_widget_get_toplevel (widget);\r
-       loop = (int*)g_object_get_data (G_OBJECT (parent), "loop");\r
-       ret = (int*)g_object_get_data (G_OBJECT (parent), "ret");\r
\r
-       *loop = 0;\r
-       *ret = (int)data;\r
-}\r
-\r
-gint dialog_delete_callback (GtkWidget *widget, GdkEvent* event, gpointer data)\r
-{\r
-       int *loop;\r
\r
-       gtk_widget_hide (widget);\r
-       loop = (int*)g_object_get_data (G_OBJECT (widget), "loop");\r
-       *loop = 0;\r
-\r
-       return TRUE;\r
-}\r
+/*
+Copyright (C) 1999-2007 id Software, Inc. and contributors.
+For a list of contributors, see the accompanying CONTRIBUTORS file.
+
+This file is part of GtkRadiant.
+
+GtkRadiant is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+GtkRadiant is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GtkRadiant; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
+/*
+Camera plugin for GtkRadiant
+Copyright (C) 2002 Splash Damage Ltd.
+*/
+
+#include "camera.h"
+
+void dialog_button_callback (GtkWidget *widget, gpointer data)
+{
+       GtkWidget *parent;
+       int *loop, *ret;
+       parent = gtk_widget_get_toplevel (widget);
+       loop = (int*)g_object_get_data (G_OBJECT (parent), "loop");
+       ret = (int*)g_object_get_data (G_OBJECT (parent), "ret");
+       *loop = 0;
+       *ret = GPOINTER_TO_INT (data);
+}
+
+gint dialog_delete_callback (GtkWidget *widget, GdkEvent* event, gpointer data)
+{
+       int *loop;
+       gtk_widget_hide (widget);
+       loop = (int*)g_object_get_data (G_OBJECT (widget), "loop");
+       *loop = 0;
+
+       return TRUE;
+}