Author: bellau Date: Fri Feb 8 21:59:26 2008 New Revision: 311 URL: http://svn.gnome.org/viewvc/monkey-bubble?rev=311&view=rev
Log: 2008-02-08 Laurent Belmonte <[EMAIL PROTECTED]> * src/ui/ui-main.c: (ui_main_new), (frame_event): listen window state, dummy code behind Modified: trunk/ChangeLog trunk/src/ui/ui-main.c Modified: trunk/src/ui/ui-main.c ============================================================================== --- trunk/src/ui/ui-main.c (original) +++ trunk/src/ui/ui-main.c Fri Feb 8 21:59:26 2008 @@ -110,6 +110,10 @@ static void fullscreen (GtkAction* action, UiMain * uimain); + +static void window_state_event (GtkWindow *window, + GdkEvent *event, + UiMain * uimain); #endif static void ui_main_new_1_player_game(UiMain * ui_main); @@ -278,6 +282,8 @@ #ifdef GNOME PRIVATE (ui_main)->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (PRIVATE (ui_main)->window), _("Monkey Bubble")); + g_signal_connect (G_OBJECT(PRIVATE (ui_main)->window), "window-state-event", + G_CALLBACK (window_state_event), ui_main); #endif vbox = gtk_vbox_new (FALSE, 0); @@ -830,4 +836,11 @@ { // TODO : do something here } + +static void window_state_event (GtkWindow *window, + GdkEvent *event, + UiMain * uimain) +{ + // TODO : do something here +} #endif _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want. Module maintainer? It is possible to set the reply-to to your development mailing list. Email [EMAIL PROTECTED] if interested.