Replace GTK deprecated functions
[emu8051.git] / src / emugtk.c
index 1a380f8..7cd5a2a 100644 (file)
@@ -49,7 +49,8 @@
 
 static int running;
 static int running_function_tag;
-static GtkWidget *mainwin;
+
+GtkWidget *mainwin;
 
 extern struct app_config_t *cfg;
 
@@ -240,8 +241,6 @@ AddMenu(void)
 static int
 mainwin_configure_event(GtkWindow *window, GdkEvent *event, gpointer data)
 {
-       //event->configure.x;
-       //event->configure.y;
        cfg->win_width = event->configure.width;
        cfg->win_height = event->configure.height;