Commit 73710648 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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.
parent 9a970814
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
......
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
......
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
......
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
......
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
......
......@@ -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);
}
}
......
......@@ -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 ();
......
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment