[gegl] Bug 589769 - Remove deprecated Glib and GTK+ symbols



commit ccb3a25eb984191ba0236f3a15902c8bcd1a82f0
Author: Javier Jardón <javierjc1982 gmail com>
Date:   Wed Aug 19 04:43:34 2009 +0200

    Bug 589769 - Remove deprecated Glib and GTK+ symbols

 examples/gegl-paint.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/examples/gegl-paint.c b/examples/gegl-paint.c
index 790d5e1..843c3f8 100644
--- a/examples/gegl-paint.c
+++ b/examples/gegl-paint.c
@@ -164,12 +164,12 @@ main (gint    argc,
     top  = loadbuf;
   }
 
-  gtk_signal_connect (GTK_OBJECT (view), "motion-notify-event",
-                      (GtkSignalFunc) paint_motion, NULL);
-  gtk_signal_connect (GTK_OBJECT (view), "button-press-event",
-                      (GtkSignalFunc) paint_press, NULL);
-  gtk_signal_connect (GTK_OBJECT (view), "button-release-event",
-                      (GtkSignalFunc) paint_release, NULL);
+  g_signal_connect (GTK_OBJECT (view), "motion-notify-event",
+                    (GCallback) paint_motion, NULL);
+  g_signal_connect (GTK_OBJECT (view), "button-press-event",
+                    (GCallback) paint_press, NULL);
+  g_signal_connect (GTK_OBJECT (view), "button-release-event",
+                    (GCallback) paint_release, NULL);
 
   gtk_widget_add_events (view, GDK_BUTTON_RELEASE_MASK);
 



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