diff options
author | Alberto Mardegan <mardy@users.sourceforge.net> | 2013-04-01 13:51:49 +0300 |
---|---|---|
committer | Alberto Mardegan <mardy@users.sourceforge.net> | 2013-04-01 16:03:59 +0300 |
commit | 578d633d0148a13397f330aa91af1470843d73c1 (patch) | |
tree | 3fe9b442b5c62a0b2bf0dc54f463f02594b51e24 /callbacks-gtk.h | |
parent | 42365ede79ec34dba58447458bbc3f1c66cba7d1 (diff) | |
download | subsurface-578d633d0148a13397f330aa91af1470843d73c1.tar.gz |
Have some C++ file in the project
Rename gtk-gui.c to qt-gui.cpp, and make the necessary changes so that
the project still builds.
Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
Diffstat (limited to 'callbacks-gtk.h')
-rw-r--r-- | callbacks-gtk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callbacks-gtk.h b/callbacks-gtk.h index 08c159b4d..568916f6c 100644 --- a/callbacks-gtk.h +++ b/callbacks-gtk.h @@ -9,7 +9,7 @@ static void name(GtkWidget *w, gpointer data) \ #define OPTIONCALLBACK(name, option) \ static void name(GtkWidget *w, gpointer data) \ { \ - GtkWidget **entry = data; \ + GtkWidget **entry = (GtkWidget**)data; \ option = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w)); \ update_screen(); \ if (entry) \ |