Commit efd2dbf0 authored by Matthias Clasen's avatar Matthias Clasen

Add gtk_scale_button_get_popup

svn path=/trunk/; revision=20748
parent 5d0421f6
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
private
* gtk/gtk.symbols:
* gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
accessor for the popup. Patch by Christian Dywan
2008-07-03 Matthias Clasen <mclasen@redhat.com>
Bug 535498 – Printing demo broken
......
......@@ -3147,6 +3147,7 @@ gtk_scale_button_set_icons
gtk_scale_button_set_value
gtk_scale_button_get_adjustment
gtk_scale_button_get_value
gtk_scale_button_get_popup
<SUBSECTION Standard>
GTK_SCALE_BUTTON
GTK_IS_SCALE_BUTTON
......
......@@ -3311,6 +3311,7 @@ gtk_scale_button_get_adjustment
gtk_scale_button_set_adjustment
gtk_scale_button_get_orientation
gtk_scale_button_set_orientation
gtk_scale_button_get_popup
#endif
#endif
......
......@@ -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.
*/
......
......@@ -98,6 +98,7 @@ void gtk_scale_button_set_adjustment (GtkScaleButton *button,
GtkOrientation gtk_scale_button_get_orientation (GtkScaleButton *button);
void gtk_scale_button_set_orientation (GtkScaleButton *button,
GtkOrientation orientation);
GtkWidget * gtk_scale_button_get_popup (GtkScaleButton *button);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment