[gtk+/wip/baedert/children: 19/33] spinbutton: Remove _get_panels



commit c370ad946ea0c8ad14d9f480d14bc64ef9ec80ff
Author: Timm Bäder <mail baedert org>
Date:   Tue Nov 22 21:00:40 2016 +0100

    spinbutton: Remove _get_panels

 gtk/gtkspinbutton.c |   12 ------------
 gtk/gtkspinbutton.h |    5 -----
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index fb367c2..954e1de 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 3e92cab..7ce9965 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__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]