gtk-engines r1359 - in trunk: . engines/glide/src engines/hc/src engines/redmond/src



Author: bberg
Date: Sat Apr  4 13:18:42 2009
New Revision: 1359
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1359&view=rev

Log:
2009-04-04  Benjamin Berg  <benjamin sipsolutions net>

	* engines/glide/src/glide_gtk2_support.c:
	(glide_gtk2_engine_hack_menu_shell_setup):
	* engines/hc/src/hc_gtk2_support.c:
	(hc_gtk2_engine_hack_menu_shell_setup_signals):
	* engines/redmond/src/redmond_gtk2_misc.c:
	(redmond_gtk2_engine_hack_menu_shell_setup_signals):
	Remove some usage of deprecated definitions. Bug #572178


Modified:
   trunk/ChangeLog
   trunk/engines/glide/src/glide_gtk2_support.c
   trunk/engines/hc/src/hc_gtk2_support.c
   trunk/engines/redmond/src/redmond_gtk2_misc.c

Modified: trunk/engines/glide/src/glide_gtk2_support.c
==============================================================================
--- trunk/engines/glide/src/glide_gtk2_support.c	(original)
+++ trunk/engines/glide/src/glide_gtk2_support.c	Sat Apr  4 13:18:42 2009
@@ -1209,25 +1209,25 @@
       if (!g_object_get_data(G_OBJECT(widget), "GLIDE_MENU_SHELL_HACK_SET"))
       {
         id = g_signal_connect(G_OBJECT(widget), "motion-notify-event",
-                                             (GtkSignalFunc)glide_gtk2_engine_hack_menu_shell_motion,
+                                             (GCallback)glide_gtk2_engine_hack_menu_shell_motion,
                                              NULL);
                                   
         g_object_set_data(G_OBJECT(widget), "GLIDE_MENU_SHELL_MOTION_ID", (gpointer)id);
         
         id = g_signal_connect(G_OBJECT(widget), "leave-notify-event",
-                                             (GtkSignalFunc)glide_gtk2_engine_hack_menu_shell_leave,
+                                             (GCallback)glide_gtk2_engine_hack_menu_shell_leave,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "GLIDE_MENU_SHELL_LEAVE_ID", (gpointer)id);
                                              
         id = g_signal_connect(G_OBJECT(widget), "destroy-event",
-                                             (GtkSignalFunc)glide_gtk2_engine_hack_menu_shell_destroy,
+                                             (GCallback)glide_gtk2_engine_hack_menu_shell_destroy,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "GLIDE_MENU_SHELL_DESTROY_ID", (gpointer)id);
  
         g_object_set_data(G_OBJECT(widget), "GLIDE_MENU_SHELL_HACK_SET", (gpointer)1);
         
         id = g_signal_connect(G_OBJECT(widget), "style-set",
-                                             (GtkSignalFunc)glide_gtk2_engine_hack_menu_shell_style_set,
+                                             (GCallback)glide_gtk2_engine_hack_menu_shell_style_set,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "GLIDE_MENU_SHELL_STYLE_SET_ID", (gpointer)id);
       }

Modified: trunk/engines/hc/src/hc_gtk2_support.c
==============================================================================
--- trunk/engines/hc/src/hc_gtk2_support.c	(original)
+++ trunk/engines/hc/src/hc_gtk2_support.c	Sat Apr  4 13:18:42 2009
@@ -429,25 +429,25 @@
       if (!g_object_get_data(G_OBJECT(widget), "HC_MENU_SHELL_HACK_SET"))
       {
         id = g_signal_connect(G_OBJECT(widget), "motion-notify-event",
-                                             (GtkSignalFunc)hc_gtk2_engine_hack_menu_shell_motion,
+                                             (GCallback)hc_gtk2_engine_hack_menu_shell_motion,
                                              NULL);
                                   
         g_object_set_data(G_OBJECT(widget), "HC_MENU_SHELL_MOTION_ID", (gpointer)id);
         
         id = g_signal_connect(G_OBJECT(widget), "leave-notify-event",
-                                             (GtkSignalFunc)hc_gtk2_engine_hack_menu_shell_leave,
+                                             (GCallback)hc_gtk2_engine_hack_menu_shell_leave,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "HC_MENU_SHELL_LEAVE_ID", (gpointer)id);
                                              
         id = g_signal_connect(G_OBJECT(widget), "destroy-event",
-                                             (GtkSignalFunc)hc_gtk2_engine_hack_menu_shell_destroy,
+                                             (GCallback)hc_gtk2_engine_hack_menu_shell_destroy,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "HC_MENU_SHELL_DESTROY_ID", (gpointer)id);
  
         g_object_set_data(G_OBJECT(widget), "HC_MENU_SHELL_HACK_SET", (gpointer)1);
         
         id = g_signal_connect(G_OBJECT(widget), "style-set",
-                                             (GtkSignalFunc)hc_gtk2_engine_hack_menu_shell_style_set,
+                                             (GCallback)hc_gtk2_engine_hack_menu_shell_style_set,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "HC_MENU_SHELL_STYLE_SET_ID", (gpointer)id);
       }

Modified: trunk/engines/redmond/src/redmond_gtk2_misc.c
==============================================================================
--- trunk/engines/redmond/src/redmond_gtk2_misc.c	(original)
+++ trunk/engines/redmond/src/redmond_gtk2_misc.c	Sat Apr  4 13:18:42 2009
@@ -536,25 +536,25 @@
       if (!g_object_get_data(G_OBJECT(widget), "REDMOND_MENU_SHELL_HACK_SET"))
       {
         id = g_signal_connect(G_OBJECT(widget), "motion-notify-event",
-                                             (GtkSignalFunc)redmond_gtk2_engine_hack_menu_shell_motion,
+                                             (GCallback)redmond_gtk2_engine_hack_menu_shell_motion,
                                              NULL);
                                   
         g_object_set_data(G_OBJECT(widget), "REDMOND_MENU_SHELL_MOTION_ID", (gpointer)id);
         
         id = g_signal_connect(G_OBJECT(widget), "leave-notify-event",
-                                             (GtkSignalFunc)redmond_gtk2_engine_hack_menu_shell_leave,
+                                             (GCallback)redmond_gtk2_engine_hack_menu_shell_leave,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "REDMOND_MENU_SHELL_LEAVE_ID", (gpointer)id);
                                              
         id = g_signal_connect(G_OBJECT(widget), "destroy-event",
-                                             (GtkSignalFunc)redmond_gtk2_engine_hack_menu_shell_destroy,
+                                             (GCallback)redmond_gtk2_engine_hack_menu_shell_destroy,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "REDMOND_MENU_SHELL_DESTROY_ID", (gpointer)id);
  
         g_object_set_data(G_OBJECT(widget), "REDMOND_MENU_SHELL_HACK_SET", (gpointer)1);
         
         id = g_signal_connect(G_OBJECT(widget), "style-set",
-                                             (GtkSignalFunc)redmond_gtk2_engine_hack_menu_shell_style_set,
+                                             (GCallback)redmond_gtk2_engine_hack_menu_shell_style_set,
                                              NULL);
         g_object_set_data(G_OBJECT(widget), "REDMOND_MENU_SHELL_STYLE_SET_ID", (gpointer)id);
       }



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