mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
42365ede79
commit
578d633d01
13 changed files with 124 additions and 65 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue