diff options
author | Hans Breuer <hans@breuer.org> | 2005-04-03 21:03:08 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2005-04-03 21:03:08 +0000 |
commit | 0ba6aed77e18a5443ddb842d25f7cb0f27666a21 (patch) | |
tree | b11d315744ab0d474636dd3788348bec08befacc /gtk/gtkstyle.c | |
parent | 4a6d631cc6cb1ebffecb32bfbf7ef92a53c532c4 (diff) | |
download | gtk+-0ba6aed77e18a5443ddb842d25f7cb0f27666a21.tar.gz |
[merged from gtk-2-6 branch] let dash_offset shift the start of the line
2005-04-03 Hans Breuer <hans@breuer.org>
[merged from gtk-2-6 branch]
* gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
the line pattern not the start of the line. Fixes bug #171641.
* gtk/makefile.msc.in : follow .symbols changes
* gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor()
dynamically. (It is not available in _WIN_VER <= 0x0400)
* gdk/win32/makefile.msc : removed gdkpango-win32.obj
* gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI
[also applied to gtk-2-6 branch]
* gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def
* gdk/makefile.msc.in : add gtkmnemonichash.obj
* test/testgtk.c(set_parent_signal) : use g_message instead of
g_print to keep the 'testgtk --bench=all' output clean
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r-- | gtk/gtkstyle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index ad4093ba9a..cca2b27b9c 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -3782,7 +3782,7 @@ gtk_default_draw_option (GtkStyle *style, x + exterior_size / 2., y + exterior_size / 2., (exterior_size - 1) / 2., - 0, 2 * M_PI); + 0, 2 * G_PI); cairo_save (cr); cairo_fill (cr); @@ -3828,7 +3828,7 @@ gtk_default_draw_option (GtkStyle *style, x + pad + interior_size / 2., y + pad + interior_size / 2., interior_size / 2., - 0, 2 * M_PI); + 0, 2 * G_PI); cairo_fill (cr); } else if (shadow_type == GTK_SHADOW_ETCHED_IN) /* inconsistent */ |