[gtk+/gtk-2-90] Revert accidental removal of book pixmap strings



commit 00cc8d22031e3fe94ea8e93838c3a46c2f8ebd97
Author: Christian Dywan <christian twotoasts de>
Date:   Tue Apr 13 18:55:50 2010 +0200

    Revert accidental removal of book pixmap strings

 tests/testgtk.c |   50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 48 insertions(+), 2 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index ff8d457..cab560c 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -6619,6 +6619,54 @@ int ntext_colors = sizeof(text_colors) / sizeof(text_colors[0]);
  * GtkNotebook
  */
 
+static char * book_open_xpm[] = {
+"16 16 4 1",
+"       c None s None",
+".      c black",
+"X      c #808080",
+"o      c white",
+"                ",
+"  ..            ",
+" .Xo.    ...    ",
+" .Xoo. ..oo.    ",
+" .Xooo.Xooo...  ",
+" .Xooo.oooo.X.  ",
+" .Xooo.Xooo.X.  ",
+" .Xooo.oooo.X.  ",
+" .Xooo.Xooo.X.  ",
+" .Xooo.oooo.X.  ",
+"  .Xoo.Xoo..X.  ",
+"   .Xo.o..ooX.  ",
+"    .X..XXXXX.  ",
+"    ..X.......  ",
+"     ..         ",
+"                "};
+
+static char * book_closed_xpm[] = {
+"16 16 6 1",
+"       c None s None",
+".      c black",
+"X      c red",
+"o      c yellow",
+"O      c #808080",
+"#      c white",
+"                ",
+"       ..       ",
+"     ..XX.      ",
+"   ..XXXXX.     ",
+" ..XXXXXXXX.    ",
+".ooXXXXXXXXX.   ",
+"..ooXXXXXXXXX.  ",
+".X.ooXXXXXXXXX. ",
+".XX.ooXXXXXX..  ",
+" .XX.ooXXX..#O  ",
+"  .XX.oo..##OO. ",
+"   .XX..##OO..  ",
+"    .X.#OO..    ",
+"     ..O..      ",
+"      ..        ",
+"                "};
+
 GdkPixbuf *book_open;
 GdkPixbuf *book_closed;
 GtkWidget *sample_notebook;
@@ -6867,8 +6915,6 @@ create_notebook (GtkWidget *widget)
   GtkWidget *separator;
   GtkWidget *omenu;
   GtkWidget *label;
-  GdkPixbuf *book_open_xpm;
-  GdkPixbuf *book_closed_xpm;
 
   static gchar *items[] =
   {



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