summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-08-04 13:17:33 +0000
committerHans Breuer <hans@src.gnome.org>2001-08-04 13:17:33 +0000
commitafb6e60fb3ffc802069b032074eae5967bf632ef (patch)
treedea8358d2776cd6843651d376222f9d6fddf0647 /gtk/gtkstyle.c
parentb092021ba6e8aa55de595aee52eef683f8ced034 (diff)
downloadgtk+-afb6e60fb3ffc802069b032074eae5967bf632ef.tar.gz
new file use it
2001-08-04 Hans Breuer <hans@breuer.org> * gtk/stocks-icons/makefile.msc : new file * gtk/makefile.msc.in : use it * gtk/gtkstyle.c : not all platforms do provide M_PI and friends, but luckily there is G_PI * gtk/gtk.def : updated * gdk/win32/gdkwindow.c (gdk_window_new) : don't make all TEMP windows WS_POPUP, but only those without a parent. This fixes the mis-alignment between the selectable (temp, input only) window and the window text of GtkLabel. (gdk_window_show) : respect private->state when actually showing the window. (gdk_window_set_transient_for) : Implementation from Wolfgang Sourdeau <wolfgang@contre.com> ported to 2.0 and added some error handling. Should fix #50586. * gdk/win32/gdkevents-win32.c : beautify log output
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 84533d305f..c5d35a1787 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -38,7 +38,6 @@
#define LIGHTNESS_MULT 1.3
#define DARKNESS_MULT 0.7
-
/* --- typedefs & structures --- */
typedef struct {
GType widget_type;
@@ -4005,8 +4004,8 @@ create_expander_affine (gdouble affine[6],
width = expander_size / 4;
height = expander_size / 2;
- s = sin (degrees * M_PI / 180.0);
- c = cos (degrees * M_PI / 180.0);
+ s = sin (degrees * G_PI / 180.0);
+ c = cos (degrees * G_PI / 180.0);
affine[0] = c;
affine[1] = s;