From: erg Date: Wed, 19 Mar 2008 21:43:58 +0000 (+0000) Subject: Clean up smyrna files: X-Git-Tag: LAST_LIBGRAPH~32^2~4476 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c24f920be5d16e4379f34ce544aef7ddc86cac77;p=graphviz Clean up smyrna files: remove unnecessary globals modify libraries not to rely on code in cmd/smyrna remove static declarations from .h files remove unnecessary libraries mark unused code and clean up warnings --- diff --git a/cmd/smyrna/gltemplate.h b/cmd/smyrna/gltemplate.h index 9e65076a0..148b2cee1 100755 --- a/cmd/smyrna/gltemplate.h +++ b/cmd/smyrna/gltemplate.h @@ -26,23 +26,26 @@ #include #endif #include -#include +#include #include #include #include #include -void examine_gl_config_attrib (GdkGLConfig *glconfig); -void print_gl_config_attrib (GdkGLConfig *glconfig,const gchar *attrib_str,int attrib,gboolean is_boolean); -static void realize (GtkWidget *widget,gpointer data); -static gboolean configure_event (GtkWidget *widget,GdkEventConfigure *event, gpointer data); -gboolean expose_event (GtkWidget *widget,GdkEventExpose *event,gpointer data); -static gboolean button_press_event (GtkWidget *widget,GdkEventButton *event,gpointer data); -static gboolean button_release_event (GtkWidget *widget,GdkEventButton *event,gpointer data); -static gboolean motion_notify_event (GtkWidget *widget,GdkEventMotion *event,gpointer data); -static gboolean key_press_event (GtkWidget *widget, GdkEventKey *event,gpointer data); -void switch_Mouse (GtkMenuItem *menuitem,int mouse_mode); -static gboolean button_press_event_popup_menu (GtkWidget *widget,GdkEventButton *event,gpointer data); -extern GdkGLConfig *configure_gl (void); -void create_window (GdkGLConfig *glconfig,GtkWidget* vbox); +void examine_gl_config_attrib(GdkGLConfig * glconfig); +void print_gl_config_attrib(GdkGLConfig * glconfig, + const gchar * attrib_str, int attrib, + gboolean is_boolean); +/* static void realize (GtkWidget *widget,gpointer data); */ +/* static gboolean configure_event (GtkWidget *widget,GdkEventConfigure *event, gpointer data); */ +gboolean expose_event(GtkWidget * widget, GdkEventExpose * event, + gpointer data); +/* static gboolean button_press_event (GtkWidget *widget,GdkEventButton *event,gpointer data); */ +/* static gboolean button_release_event (GtkWidget *widget,GdkEventButton *event,gpointer data); */ +/* static gboolean motion_notify_event (GtkWidget *widget,GdkEventMotion *event,gpointer data); */ +/* static gboolean key_press_event (GtkWidget *widget, GdkEventKey *event,gpointer data); */ +void switch_Mouse(GtkMenuItem * menuitem, int mouse_mode); +/* static gboolean button_press_event_popup_menu (GtkWidget *widget,GdkEventButton *event,gpointer data); */ +extern GdkGLConfig *configure_gl(void); +void create_window(GdkGLConfig * glconfig, GtkWidget * vbox); #endif