diff options
author | Manish Singh <yosh@src.gnome.org> | 1998-03-19 01:07:48 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-03-19 01:07:48 +0000 |
commit | 2a2fff763d6b9973023b7bf89d037cd1fad817b2 (patch) | |
tree | ba05ba397201d3935f520f9721280d4b3e9eebca /tests/testgtk.c | |
parent | 3c03a6787d7c10bc47e76852dfbad74372d4f460 (diff) | |
download | gtk+-2a2fff763d6b9973023b7bf89d037cd1fad817b2.tar.gz |
#define M_PI if it isn't already initialize transparent properly, to make
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify happy
-Yosh
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r-- | tests/testgtk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 83c2da51d9..4b40d6a108 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -3983,7 +3983,7 @@ create_notebook () GtkWidget *submenu; GtkWidget *menuitem; GSList *group; - GdkColor transparent; + GdkColor *transparent = NULL; if (!window) { @@ -4009,11 +4009,11 @@ create_notebook () gtk_widget_realize (notebook); book_open = gdk_pixmap_create_from_xpm_d (notebook->window, &book_open_mask, - &transparent, + transparent, book_open_xpm); book_closed = gdk_pixmap_create_from_xpm_d (notebook->window, &book_closed_mask, - &transparent, + transparent, book_closed_xpm); create_pages (GTK_NOTEBOOK (notebook), 1, 5); |