+2008-06-20 Johan Dahlin <jdahlin@async.com.br>
+
+ * gtk/gtk.symbols:
+ * gtk/gtkscalebutton.c (gtk_scale_button_get_plus_button),
+ (gtk_scale_button_get_minus_button):
+ * gtk/gtkscalebutton.h:
+ Add missing accessor for sealed fields GtkScaleButton->plus_button and
+ minus_button.
+
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
gtk_scale_button_set_value
gtk_scale_button_get_adjustment
gtk_scale_button_set_adjustment
+gtk_scale_button_get_minus_button
+gtk_scale_button_get_plus_button
#endif
#endif
g_object_notify (G_OBJECT (button), "value");
}
+/**
+ * gtk_scale_button_get_plus_button:
+ * @button: a #GtkScaleButton
+ *
+ * Retrieves the scale buttons plus button widget
+ *
+ * Return value: the plus button widget
+ *
+ * Since: 2.14
+ */
+GtkWidget*
+gtk_scale_button_get_plus_button (GtkScaleButton *button)
+{
+ g_return_val_if_fail (GTK_IS_SCALE_BUTTON (button), button);
+
+ return button->plus_button;
+}
+
+/**
+ * gtk_scale_button_get_minus_button:
+ * @button: a #GtkScaleButton
+ *
+ * Retrieves the scale buttons minus button widget
+ *
+ * Return value: the minus button widget
+ *
+ * Since: 2.14
+ */
+GtkWidget*
+gtk_scale_button_get_minus_button (GtkScaleButton *button)
+{
+ g_return_val_if_fail (GTK_IS_SCALE_BUTTON (button), button);
+
+ return button->minus_button;
+}
+
#define __GTK_SCALE_BUTTON_C__
#include "gtkaliasdef.c"
GtkAdjustment* gtk_scale_button_get_adjustment (GtkScaleButton *button);
void gtk_scale_button_set_adjustment (GtkScaleButton *button,
GtkAdjustment *adjustment);
+GtkWidget* gtk_scale_button_get_plus_button (GtkScaleButton *button);
+GtkWidget* gtk_scale_button_get_minus_button (GtkScaleButton *button);
G_END_DECLS