]> Pileus Git - ~andy/gtk/commitdiff
demos/pixbuf-demo.c demos/testpixbuf.c remove deprecated gtk_timeout_*
authorManish Singh <yosh@gimp.org>
Sat, 1 Feb 2003 01:47:01 +0000 (01:47 +0000)
committerManish Singh <yosh@src.gnome.org>
Sat, 1 Feb 2003 01:47:01 +0000 (01:47 +0000)
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.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
demos/gtk-demo/pixbufs.c
demos/pixbuf-demo.c
demos/testpixbuf.c

index 517ca8b0ad9e833e8d24eb1414eefbefd76e360f..f31c7772c3315bfc71d92b7679b1293dbd57de57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 517ca8b0ad9e833e8d24eb1414eefbefd76e360f..f31c7772c3315bfc71d92b7679b1293dbd57de57 100644 (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
index 517ca8b0ad9e833e8d24eb1414eefbefd76e360f..f31c7772c3315bfc71d92b7679b1293dbd57de57 100644 (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
index 517ca8b0ad9e833e8d24eb1414eefbefd76e360f..f31c7772c3315bfc71d92b7679b1293dbd57de57 100644 (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
index 517ca8b0ad9e833e8d24eb1414eefbefd76e360f..f31c7772c3315bfc71d92b7679b1293dbd57de57 100644 (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
index 9a50d6f3c1333cd4041e519d980bd9b75a16b9cd..d78885067602d550e961e62fcdf63a048d638ce4 100644 (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);
        }
     }
 
index 5425f4bc808d860d8e3194b58de5cf7f0cdf7652..eaacf83f5977b26ddf568feab2acc87dc7797564 100644 (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 ();
index 26bcd1d02c65d487c4e0b26ebd37c38c5a4f42ba..a40d3b202dfaa6e5f6289435a899547687cfef9b 100644 (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
        }