r36125 - in trunk/gui/dialog: dialog.c dialog.h msgbox.c msgbox.h
Author: ib Date: Mon Apr 1 00:45:25 2013 New Revision: 36125 Log: Move variable declarations and definitions where they belong. Modified: trunk/gui/dialog/dialog.c trunk/gui/dialog/dialog.h trunk/gui/dialog/msgbox.c trunk/gui/dialog/msgbox.h Modified: trunk/gui/dialog/dialog.c ============================================================================== --- trunk/gui/dialog/dialog.c Mon Apr 1 00:41:03 2013 (r36124) +++ trunk/gui/dialog/dialog.c Mon Apr 1 00:45:25 2013 (r36125) @@ -51,9 +51,6 @@ static GtkWidget *PopUpMenu; -GtkWidget *WarningPixmap; -GtkWidget *ErrorPixmap; - static int gtkInitialized; #include "skinbrowser.h" Modified: trunk/gui/dialog/dialog.h ============================================================================== --- trunk/gui/dialog/dialog.h Mon Apr 1 00:41:03 2013 (r36124) +++ trunk/gui/dialog/dialog.h Mon Apr 1 00:45:25 2013 (r36125) @@ -28,11 +28,6 @@ #define GTK_MB_ERROR 4 #define GTK_MB_WARNING 8 -extern GtkWidget *WarningPixmap; -extern GtkWidget *ErrorPixmap; - -extern GtkWidget *gtkMessageBoxText; - typedef struct { Pixmap small; Pixmap small_mask; Modified: trunk/gui/dialog/msgbox.c ============================================================================== --- trunk/gui/dialog/msgbox.c Mon Apr 1 00:41:03 2013 (r36124) +++ trunk/gui/dialog/msgbox.c Mon Apr 1 00:45:25 2013 (r36125) @@ -30,6 +30,8 @@ GtkWidget * gtkMessageBoxText; GtkWidget * MessageBox = NULL; +GtkWidget * WarningPixmap; +GtkWidget * ErrorPixmap; static void on_Ok_released( GtkButton * button,gpointer user_data ) { Modified: trunk/gui/dialog/msgbox.h ============================================================================== --- trunk/gui/dialog/msgbox.h Mon Apr 1 00:41:03 2013 (r36124) +++ trunk/gui/dialog/msgbox.h Mon Apr 1 00:45:25 2013 (r36125) @@ -22,6 +22,9 @@ #include <gtk/gtk.h> extern GtkWidget * MessageBox; +extern GtkWidget * WarningPixmap; +extern GtkWidget * ErrorPixmap; +extern GtkWidget * gtkMessageBoxText; void ShowMessageBox( const char * msg );
participants (1)
-
ib