diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index fb367c2f7d..954e1def78 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -2576,18 +2576,6 @@ gtk_spin_button_update (GtkSpinButton *spin_button) gtk_spin_button_set_value (spin_button, val); } -void -_gtk_spin_button_get_panels (GtkSpinButton *spin_button, - GdkWindow **down_panel, - GdkWindow **up_panel) -{ - if (down_panel != NULL) - *down_panel = spin_button->priv->down_panel; - - if (up_panel != NULL) - *up_panel = spin_button->priv->up_panel; -} - static void gtk_spin_button_direction_changed (GtkWidget *widget, GtkTextDirection previous_dir) diff --git a/gtk/gtkspinbutton.h b/gtk/gtkspinbutton.h index 3e92cab08c..7ce9965077 100644 --- a/gtk/gtkspinbutton.h +++ b/gtk/gtkspinbutton.h @@ -228,11 +228,6 @@ gboolean gtk_spin_button_get_snap_to_ticks (GtkSpinButton *spin_button) GDK_AVAILABLE_IN_ALL void gtk_spin_button_update (GtkSpinButton *spin_button); -/* private */ -void _gtk_spin_button_get_panels (GtkSpinButton *spin_button, - GdkWindow **down_panel, - GdkWindow **up_panel); - G_END_DECLS #endif /* __GTK_SPIN_BUTTON_H__ */