forked from AuroraMiddleware/gtk
#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
This commit is contained in:
parent
3c03a6787d
commit
2a2fff763d
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user