From c3f07b9f81f09421a92d42d1b98e7c984b75e20d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 6 Oct 2013 16:49:15 -0700 Subject: Remove gtk specific source files Signed-off-by: Dirk Hohndel --- callbacks-gtk.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 callbacks-gtk.h (limited to 'callbacks-gtk.h') diff --git a/callbacks-gtk.h b/callbacks-gtk.h deleted file mode 100644 index 568916f6c..000000000 --- a/callbacks-gtk.h +++ /dev/null @@ -1,17 +0,0 @@ -#define UNITCALLBACK(name, type, value) \ -static void name(GtkWidget *w, gpointer data) \ -{ \ - if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))) \ - prefs.units.type = value; \ - update_screen(); \ -} - -#define OPTIONCALLBACK(name, option) \ -static void name(GtkWidget *w, gpointer data) \ -{ \ - GtkWidget **entry = (GtkWidget**)data; \ - option = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w)); \ - update_screen(); \ - if (entry) \ - gtk_widget_set_sensitive(*entry, option);\ -} -- cgit v1.2.3-70-g09d2