diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-10-13 00:52:50 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:38:21 +0100 |
commit | 59b0fa81332d7ab6d30813cb86a5706ee0a734d0 (patch) | |
tree | 3a90f6bcfc117c6beaa8a69cecc6c4f7ed30836e /gtk/gtkstylecontext.c | |
parent | e8c103f652921530aa30ab9e829bbe485deb7d85 (diff) | |
download | gtk+-59b0fa81332d7ab6d30813cb86a5706ee0a734d0.tar.gz |
Remove GtkOrientation parameter from gtk_render_handle().
The case for paned can be guessed out from the height and width,
for handlebox the orientation parameter doesn't make much sense,
and this way it could also be used for resize grips.
Diffstat (limited to 'gtk/gtkstylecontext.c')
-rw-r--r-- | gtk/gtkstylecontext.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index ff58377274..04a39b53d2 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -2385,8 +2385,7 @@ gtk_render_handle (GtkStyleContext *context, gdouble x, gdouble y, gdouble width, - gdouble height, - GtkOrientation orientation) + gdouble height) { GtkStyleContextPrivate *priv; GtkThemingEngineClass *engine_class; @@ -2400,5 +2399,5 @@ gtk_render_handle (GtkStyleContext *context, store_animation_region (context, x, y, width, height); _gtk_theming_engine_set_context (priv->theming_engine, context); - engine_class->render_handle (priv->theming_engine, cr, x, y, width, height, orientation); + engine_class->render_handle (priv->theming_engine, cr, x, y, width, height); } |