[Date Prev][Date Next]   [Thread Prev][Thread Next]   
[Thread Index]
[Date Index]
[Author Index]
splash.c patch
- From: "Sébastien Tricaud" <stricaud mwsp net>
- To: <dia-list gnome org>
- Subject: splash.c patch
- Date: Thu, 4 Sep 2003 21:04:55 +0200 (CEST)
Hi,
just a tiny patch to have splash.c gtk2 fully compliant.
diff -Nrudb dia-origin/app/splash.c dia/app/splash.c
--- dia-origin/app/splash.c	2003-09-01 17:16:43.000000000 +0200
+++ dia/app/splash.c	2003-09-01 17:17:58.000000000 +0200
@@ -51,7 +51,7 @@
   GtkWidget *label;
   GtkWidget *frame;
   gchar str[256];
-  guint signal_id;
+  gulong signal_id;
 
   splash = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   gtk_window_set_role (GTK_WINDOW (splash), "start_dialog");
@@ -79,12 +79,12 @@
 
   gtk_widget_show_all (splash);
 
-  signal_id = gtk_signal_connect_after(GTK_OBJECT(splash), "expose_event",
+  signal_id = g_signal_connect_after(GTK_OBJECT(splash), "expose_event",
 				       GTK_SIGNAL_FUNC(splash_expose), NULL);
 
   /* splash_expose gets us out of this */
   gtk_main();
-  gtk_signal_disconnect(GTK_OBJECT(splash), signal_id);
+  g_signal_handler_disconnect(GTK_OBJECT(splash), signal_id);
 }
[Date Prev][Date Next]   [Thread Prev][Thread Next]   
[Thread Index]
[Date Index]
[Author Index]
Mail converted by Mofo Magic and the Flying D
  
                    
                  All trademarks and copyrights are the property of
                    their respective owners.
                    
                  
                  
           
                    
                        Other Directory Sites: 
                  SeekWonder  |
                  Directory Owners Forum    
                  
                  
 
 
GuideSMACK