[gtk+/gtk-style-context: 206/206] GtkStyle: Allow GTK_ARROW_NONE.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 206/206] GtkStyle: Allow GTK_ARROW_NONE.
- Date: Mon, 23 Aug 2010 17:32:15 +0000 (UTC)
commit 05ca804bf9479bcb3e8c70019b016e70c8c656c2
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Aug 23 18:00:31 2010 +0200
GtkStyle: Allow GTK_ARROW_NONE.
gtk/gtkstyle.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 456ef34..477c709 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -2325,6 +2325,9 @@ gtk_default_draw_arrow (GtkStyle *style,
cairo_t *cr;
gdouble angle, size;
+ if (arrow_type == GTK_ARROW_NONE)
+ return;
+
cr = gdk_cairo_create (window);
if (widget)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]