[gtk+/rendering-cleanup: 89/95] testgtk: Rename pixmap => pixbuf in various places



commit dabe7270966a913411319d0cdedb9448693c9040
Author: Benjamin Otte <otte redhat com>
Date:   Fri Aug 6 22:12:24 2010 +0200

    testgtk: Rename pixmap => pixbuf in various places
    
    Now that we use Pixbufs for the tests instead of Pixmaps, we should name
    the tests like that.

 tests/testgtk.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 6b4aafc..68fb7b7 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2881,7 +2881,7 @@ create_saved_position (GtkWidget *widget)
  */
 
 static void
-create_pixmap (GtkWidget *widget)
+create_pixbuf (GtkWidget *widget)
 {
   static GtkWidget *window = NULL;
   GtkWidget *box1;
@@ -2890,7 +2890,7 @@ create_pixmap (GtkWidget *widget)
   GtkWidget *button;
   GtkWidget *label;
   GtkWidget *separator;
-  GtkWidget *pixmapwid;
+  GtkWidget *pixbufwid;
 
   if (!window)
     {
@@ -2917,24 +2917,24 @@ create_pixmap (GtkWidget *widget)
       button = gtk_button_new ();
       gtk_box_pack_start (GTK_BOX (box2), button, FALSE, FALSE, 0);
 
-      pixmapwid = new_pixbuf ("test.xpm", window->window, NULL);
+      pixbufwid = new_pixbuf ("test.xpm", window->window, NULL);
 
-      label = gtk_label_new ("Pixmap\ntest");
+      label = gtk_label_new ("Pixbuf\ntest");
       box3 = gtk_hbox_new (FALSE, 0);
       gtk_container_set_border_width (GTK_CONTAINER (box3), 2);
-      gtk_container_add (GTK_CONTAINER (box3), pixmapwid);
+      gtk_container_add (GTK_CONTAINER (box3), pixbufwid);
       gtk_container_add (GTK_CONTAINER (box3), label);
       gtk_container_add (GTK_CONTAINER (button), box3);
 
       button = gtk_button_new ();
       gtk_box_pack_start (GTK_BOX (box2), button, FALSE, FALSE, 0);
       
-      pixmapwid = new_pixbuf ("test.xpm", window->window, NULL);
+      pixbufwid = new_pixbuf ("test.xpm", window->window, NULL);
 
-      label = gtk_label_new ("Pixmap\ntest");
+      label = gtk_label_new ("Pixbuf\ntest");
       box3 = gtk_hbox_new (FALSE, 0);
       gtk_container_set_border_width (GTK_CONTAINER (box3), 2);
-      gtk_container_add (GTK_CONTAINER (box3), pixmapwid);
+      gtk_container_add (GTK_CONTAINER (box3), pixbufwid);
       gtk_container_add (GTK_CONTAINER (box3), label);
       gtk_container_add (GTK_CONTAINER (button), box3);
 
@@ -10245,7 +10245,7 @@ struct {
   { "notebook", create_notebook },
   { "panes", create_panes },
   { "paned keyboard", create_paned_keyboard_navigation },
-  { "pixmap", create_pixmap },
+  { "pixbuf", create_pixbuf },
   { "progress bar", create_progress_bar },
   { "properties", create_properties },
   { "radio buttons", create_radio_buttons },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]