]> Pileus Git - ~andy/gtk/commitdiff
Fixing demos/ directory to build for removal of GtkObject type.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 27 Sep 2010 06:10:50 +0000 (15:10 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 27 Sep 2010 06:10:50 +0000 (15:10 +0900)
demos/gtk-demo/changedisplay.c
demos/gtk-demo/images.c
demos/gtk-demo/pixbufs.c
demos/pixbuf-demo.c

index db89e1de3ec449976e8f0553a78e8105994d9115..17d8448178ca0a0d3efa1d255fa65a3a08386247 100644 (file)
@@ -585,7 +585,7 @@ destroy_info (ChangeDisplayInfo *info)
 }
 
 static void
-destroy_cb (GtkObject          *object,
+destroy_cb (GObject            *object,
            ChangeDisplayInfo **info)
 {
   destroy_info (*info);
index eb3f1d94849b53753cf54fbbe4b924404d9414c2..e58d9c5d48dfa21dec0769874fd126daeb5208a6 100644 (file)
@@ -261,7 +261,7 @@ start_progressive_loading (GtkWidget *image)
 }
 
 static void
-cleanup_callback (GtkObject *object,
+cleanup_callback (GObject   *object,
                  gpointer   data)
 {
   if (load_timeout)
index 0095790e45a237be4a0872917ad8884d7ea700b2..4cc7190497ba20fd5a454f8c91ca0722a6b350d9 100644 (file)
@@ -186,7 +186,7 @@ timeout (gpointer data)
 static guint timeout_id;
 
 static void
-cleanup_callback (GtkObject *object,
+cleanup_callback (GObject   *object,
                   gpointer   data)
 {
   g_source_remove (timeout_id);
index 3c3b261ba5a2719b4a57cdb402fb8f948423466d..4448072eb350c0786f4f77b45b8b4e9e2c1b1d79 100644 (file)
@@ -173,7 +173,7 @@ static guint timeout_id;
 
 /* Destroy handler for the window */
 static void
-destroy_cb (GtkObject *object, gpointer data)
+destroy_cb (GObject *object, gpointer data)
 {
        g_source_remove (timeout_id);
        timeout_id = 0;