diff src/skins/ui_skinned_horizontal_slider.c @ 3017:963796db51ea

Don't use deprecated gtk macros and types
author Tomasz Mon <desowin@gmail.com>
date Thu, 09 Apr 2009 14:23:42 +0200
parents 7c7471554d88
children 6baa6eaf8290
line wrap: on
line diff
--- a/src/skins/ui_skinned_horizontal_slider.c	Thu Apr 09 02:21:21 2009 +0300
+++ b/src/skins/ui_skinned_horizontal_slider.c	Thu Apr 09 14:23:42 2009 +0200
@@ -116,17 +116,17 @@
     horizontal_slider_signals[MOTION] = 
         g_signal_new ("motion", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
                       G_STRUCT_OFFSET (UiSkinnedHorizontalSliderClass, motion), NULL, NULL,
-                      gtk_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
+                      g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
 
     horizontal_slider_signals[RELEASE] = 
         g_signal_new ("release", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
                       G_STRUCT_OFFSET (UiSkinnedHorizontalSliderClass, release), NULL, NULL,
-                      gtk_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
+                      g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
 
     horizontal_slider_signals[DOUBLED] = 
         g_signal_new ("toggle-scaled", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
                       G_STRUCT_OFFSET (UiSkinnedHorizontalSliderClass, scaled), NULL, NULL,
-                      gtk_marshal_VOID__VOID, G_TYPE_NONE, 0);
+                      g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
 
     g_type_class_add_private (gobject_class, sizeof (UiSkinnedHorizontalSliderPrivate));
 }