Add gtk_scale_button_get_popup

svn path=/trunk/; revision=20748
This commit is contained in:
Matthias Clasen
2008-07-03 18:03:13 +00:00
parent 5d0421f6c3
commit efd2dbf026
5 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,12 @@
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

View File

@ -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

View File

@ -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

View File

@ -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.
*/

View File

@ -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