summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-03 18:03:13 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-03 18:03:13 +0000
commitefd2dbf02644a170f7efa220d3774430dd9be890 (patch)
tree76a93bba9f6f86ef83f99f58124364612d909989 /gtk/gtkscalebutton.c
parent5d0421f6c3de152a652b0ce8c101790a9d1f15bd (diff)
downloadgtk+-efd2dbf02644a170f7efa220d3774430dd9be890.tar.gz
Add gtk_scale_button_get_popup
svn path=/trunk/; revision=20748
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r--gtk/gtkscalebutton.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c
index 30ef2608e7..27b34984b8 100644
--- a/gtk/gtkscalebutton.c
+++ b/gtk/gtkscalebutton.c
@@ -758,6 +758,22 @@ gtk_scale_button_set_orientation (GtkScaleButton *button,
}
}
+/**
+ * gtk_scale_button_get_popup:
+ * @button: a #GtkScaleButton
+ *
+ * Retrieves the popup of the #GtkScaleButton.
+ *
+ * Since: 2.14
+ */
+GtkWidget*
+gtk_scale_button_get_popup (GtkScaleButton *button)
+{
+ g_return_if_fail (GTK_IS_SCALE_BUTTON (button));
+
+ return button->priv->dock;
+}
+
/*
* button callbacks.
*/