demos/pixbuf-demo.c demos/testpixbuf.c remove deprecated gtk_timeout_*

Fri Jan 31 17:45:22 2003  Manish Singh  <yosh@gimp.org>

        * demos/pixbuf-demo.c
        * demos/testpixbuf.c
        * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
This commit is contained in:
Manish Singh 2003-02-01 01:47:01 +00:00 committed by Manish Singh
parent 9a97081477
commit 7371064845
8 changed files with 34 additions and 4 deletions

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:45:22 2003 Manish Singh <yosh@gimp.org>
* demos/pixbuf-demo.c
* demos/testpixbuf.c
* demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:45:22 2003 Manish Singh <yosh@gimp.org>
* demos/pixbuf-demo.c
* demos/testpixbuf.c
* demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:45:22 2003 Manish Singh <yosh@gimp.org>
* demos/pixbuf-demo.c
* demos/testpixbuf.c
* demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:45:22 2003 Manish Singh <yosh@gimp.org>
* demos/pixbuf-demo.c
* demos/testpixbuf.c
* demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state

View File

@ -1,3 +1,9 @@
Fri Jan 31 17:45:22 2003 Manish Singh <yosh@gimp.org>
* demos/pixbuf-demo.c
* demos/testpixbuf.c
* demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
Fri Jan 31 17:33:00 2003 Manish Singh <yosh@gimp.org>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state

View File

@ -252,7 +252,7 @@ do_pixbufs (void)
gtk_container_add (GTK_CONTAINER (window), da);
timeout_id = gtk_timeout_add (FRAME_DELAY, timeout, NULL);
timeout_id = g_timeout_add (FRAME_DELAY, timeout, NULL);
}
}

View File

@ -187,7 +187,7 @@ static guint timeout_id;
static void
destroy_cb (GtkObject *object, gpointer data)
{
gtk_timeout_remove (timeout_id);
g_source_remove (timeout_id);
timeout_id = 0;
gtk_main_quit ();
@ -225,7 +225,7 @@ main (int argc, char **argv)
gtk_container_add (GTK_CONTAINER (window), da);
timeout_id = gtk_timeout_add (FRAME_DELAY, timeout, NULL);
timeout_id = g_timeout_add (FRAME_DELAY, timeout, NULL);
gtk_widget_show_all (window);
gtk_main ();

View File

@ -626,7 +626,7 @@ main (int argc, char **argv)
status.readlen = readlen;
status.timeout = gtk_timeout_add (100, update_timeout, &status);
status.timeout = g_timeout_add (100, update_timeout, &status);
}
#endif
}