diff --git a/ChangeLog b/ChangeLog index e23c5a01ad..670b29db47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 9 19:31:59 2002 Owen Taylor + + * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove + unused draw_spin_entry_shadow(). (#80229) + Mon Dec 9 18:50:31 2002 Owen Taylor * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e23c5a01ad..670b29db47 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Mon Dec 9 19:31:59 2002 Owen Taylor + + * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove + unused draw_spin_entry_shadow(). (#80229) + Mon Dec 9 18:50:31 2002 Owen Taylor * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index e23c5a01ad..670b29db47 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Mon Dec 9 19:31:59 2002 Owen Taylor + + * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove + unused draw_spin_entry_shadow(). (#80229) + Mon Dec 9 18:50:31 2002 Owen Taylor * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index e23c5a01ad..670b29db47 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Mon Dec 9 19:31:59 2002 Owen Taylor + + * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove + unused draw_spin_entry_shadow(). (#80229) + Mon Dec 9 18:50:31 2002 Owen Taylor * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e23c5a01ad..670b29db47 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Mon Dec 9 19:31:59 2002 Owen Taylor + + * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove + unused draw_spin_entry_shadow(). (#80229) + Mon Dec 9 18:50:31 2002 Owen Taylor * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e23c5a01ad..670b29db47 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Mon Dec 9 19:31:59 2002 Owen Taylor + + * gtk/gtkstyle.c (draw_spinbutton_shadow): Remove + unused draw_spin_entry_shadow(). (#80229) + Mon Dec 9 18:50:31 2002 Owen Taylor * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index e3a8186331..6d5f0751d5 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -2285,78 +2285,6 @@ draw_thin_shadow (GtkStyle *style, } } -#if 0 -/* - * See http://bugzilla.gnome.org/show_bug.cgi?id=80229 - */ -static void -draw_spin_entry_shadow (GtkStyle *style, - GdkWindow *window, - GtkStateType state, - GdkRectangle *area, - gint x, - gint y, - gint width, - gint height) -{ - gint window_width, window_height; - gboolean focus_inset; - - gdk_drawable_get_size (window, &window_width, &window_height); - - if (width == -1) - width = window_width; - if (height == 1) - height = window_height; - - focus_inset = (width < window_width && height < window_height); - - if (area) - { - gdk_gc_set_clip_rectangle (style->light_gc[state], area); - gdk_gc_set_clip_rectangle (style->dark_gc[state], area); - gdk_gc_set_clip_rectangle (style->black_gc, area); - gdk_gc_set_clip_rectangle (style->bg_gc[state], area); - gdk_gc_set_clip_rectangle (style->base_gc[state], area); - } - - gdk_draw_line (window, style->light_gc[state], - x, y + height - 1, x + width - 1, y + height - 1); - - gdk_draw_line (window, - style->base_gc[state], - x + width - 1, y + 1, x + width - 1, y + height - 3); - - if (!focus_inset) - { - gdk_draw_line (window, style->bg_gc[state], - x + 1, y + height - 2, x + width - 1, y + height - 2); - gdk_draw_line (window, - style->base_gc[state], - x + width - 2, y + 1, x + width - 2, y + height - 3); - - gdk_draw_line (window, style->black_gc, - x + 1, y + 1, x + width - 1, y + 1); - gdk_draw_line (window, style->black_gc, - x + 1, y + 1, x + 1, y + height - 2); - } - - gdk_draw_line (window, style->dark_gc[state], - x, y, x + width - 1, y); - gdk_draw_line (window, style->dark_gc[state], - x, y, x, y + height - 1); - - if (area) - { - gdk_gc_set_clip_rectangle (style->light_gc[state], NULL); - gdk_gc_set_clip_rectangle (style->dark_gc[state], NULL); - gdk_gc_set_clip_rectangle (style->black_gc, NULL); - gdk_gc_set_clip_rectangle (style->bg_gc[state], NULL); - gdk_gc_set_clip_rectangle (style->base_gc[state], NULL); - } -} -#endif - static void draw_spinbutton_shadow (GtkStyle *style, GdkWindow *window,