[libslab] Do not run gtk_main() in create_main_window()



commit b004c447c5273486ce988a3bed5fa594833365cd
Author: Vincent Untz <vuntz gnome org>
Date:   Sat Aug 8 17:11:05 2009 +0200

    Do not run gtk_main() in create_main_window()
    
    It's up to the caller to do this.

 libslab/app-shell.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libslab/app-shell.c b/libslab/app-shell.c
index 2cf8e02..ad7293d 100644
--- a/libslab/app-shell.c
+++ b/libslab/app-shell.c
@@ -138,7 +138,6 @@ create_main_window (AppShellData * app_data, const gchar * app_name, const gchar
 	gtk_window_set_position (GTK_WINDOW (app_data->main_app), GTK_WIN_POS_CENTER);
 	if (!hidden)
 		show_shell (app_data);
-	gtk_main ();
 
 	return TRUE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]