Fixing demos/ directory to build for removal of GtkObject type.

This commit is contained in:
Tristan Van Berkom 2010-09-27 15:10:50 +09:00
parent e4a0a39a56
commit 427226b083
4 changed files with 4 additions and 4 deletions

View File

@ -585,7 +585,7 @@ destroy_info (ChangeDisplayInfo *info)
}
static void
destroy_cb (GtkObject *object,
destroy_cb (GObject *object,
ChangeDisplayInfo **info)
{
destroy_info (*info);

View 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)

View 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);

View 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;