[gtk+] Do not set junction sides to the entry frame in spinbuttons.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Do not set junction sides to the entry frame in spinbuttons.
- Date: Mon, 17 Jan 2011 03:46:56 +0000 (UTC)
commit 62fd79b2247eb67fafee19fbeedab7fc52ac8314
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jan 17 03:58:45 2011 +0100
Do not set junction sides to the entry frame in spinbuttons.
That's meant to be the outer frame, so no junction sides apply there
gtk/gtkspinbutton.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 65b4e2e..5ba8036 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -923,11 +923,6 @@ gtk_spin_button_draw (GtkWidget *widget,
context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context);
- if (is_rtl)
- gtk_style_context_set_junction_sides (context, GTK_JUNCTION_LEFT);
- else
- gtk_style_context_set_junction_sides (context, GTK_JUNCTION_RIGHT);
-
GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->draw (widget, cr);
gtk_style_context_restore (context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]