Commit 2a2fff76 authored by Manish Singh's avatar Manish Singh

#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
parent 3c03a678
Wed Mar 18 17:03:02 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify
happy
Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
......
Wed Mar 18 17:03:02 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify
happy
Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
......
Wed Mar 18 17:03:02 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify
happy
Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
......
Wed Mar 18 17:03:02 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify
happy
Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
......
Wed Mar 18 17:03:02 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify
happy
Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
......
Wed Mar 18 17:03:02 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify
happy
Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
......
Wed Mar 18 17:03:02 PST 1998 Manish Singh <yosh@gimp.org>
* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify
happy
Thu Mar 19 00:37:44 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
......
......@@ -24,6 +24,10 @@
* across all the color info (currently RGBA). - Elliot
*/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */
#define DEGTORAD(a) (2.0*M_PI*a/360.0)
#define SQR(a) (a*a)
......
......@@ -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);
......
......@@ -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);
......
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