[gtk+] Fixing demos/ directory to build for removal of GtkObject type.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fixing demos/ directory to build for removal of GtkObject type.
- Date: Mon, 27 Sep 2010 06:09:56 +0000 (UTC)
commit 427226b0832deb55f0d7b70b0a55aee54556a1ee
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Mon Sep 27 15:10:50 2010 +0900
Fixing demos/ directory to build for removal of GtkObject type.
demos/gtk-demo/changedisplay.c | 2 +-
demos/gtk-demo/images.c | 2 +-
demos/gtk-demo/pixbufs.c | 2 +-
demos/pixbuf-demo.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/demos/gtk-demo/changedisplay.c b/demos/gtk-demo/changedisplay.c
index db89e1d..17d8448 100644
--- a/demos/gtk-demo/changedisplay.c
+++ b/demos/gtk-demo/changedisplay.c
@@ -585,7 +585,7 @@ destroy_info (ChangeDisplayInfo *info)
}
static void
-destroy_cb (GtkObject *object,
+destroy_cb (GObject *object,
ChangeDisplayInfo **info)
{
destroy_info (*info);
diff --git a/demos/gtk-demo/images.c b/demos/gtk-demo/images.c
index eb3f1d9..e58d9c5 100644
--- a/demos/gtk-demo/images.c
+++ b/demos/gtk-demo/images.c
@@ -261,7 +261,7 @@ start_progressive_loading (GtkWidget *image)
}
static void
-cleanup_callback (GtkObject *object,
+cleanup_callback (GObject *object,
gpointer data)
{
if (load_timeout)
diff --git a/demos/gtk-demo/pixbufs.c b/demos/gtk-demo/pixbufs.c
index 0095790..4cc7190 100644
--- a/demos/gtk-demo/pixbufs.c
+++ b/demos/gtk-demo/pixbufs.c
@@ -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);
diff --git a/demos/pixbuf-demo.c b/demos/pixbuf-demo.c
index 3c3b261..4448072 100644
--- a/demos/pixbuf-demo.c
+++ b/demos/pixbuf-demo.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]