X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkscalebutton.h;h=7aff9ac6cf27abf753f27673deda900f233debc8;hb=3a86af43fa208786b5c848c09f9c8e1d3f060931;hp=19ca71eec2775b8bfe9bd9980e5710b7b7ae2890;hpb=80b99a7e9932e655a6794ddefe79eb7c3798fba4;p=~andy%2Fgtk diff --git a/gtk/gtkscalebutton.h b/gtk/gtkscalebutton.h index 19ca71eec..7aff9ac6c 100644 --- a/gtk/gtkscalebutton.h +++ b/gtk/gtkscalebutton.h @@ -21,9 +21,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -36,6 +34,10 @@ #ifndef __GTK_SCALE_BUTTON_H__ #define __GTK_SCALE_BUTTON_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include G_BEGIN_DECLS @@ -55,9 +57,6 @@ struct _GtkScaleButton { GtkButton parent; - GtkWidget *plus_button; - GtkWidget *minus_button; - /*< private >*/ GtkScaleButtonPrivate *priv; }; @@ -77,20 +76,23 @@ struct _GtkScaleButtonClass void (*_gtk_reserved4) (void); }; -GType gtk_scale_button_get_type (void) G_GNUC_CONST; -GtkWidget* gtk_scale_button_new (GtkIconSize size, - gdouble min, - gdouble max, - gdouble step, - const gchar **icons); -void gtk_scale_button_set_icons (GtkScaleButton *button, - const gchar **icons); -gdouble gtk_scale_button_get_value (GtkScaleButton *button); -void gtk_scale_button_set_value (GtkScaleButton *button, - gdouble value); -GtkAdjustment* gtk_scale_button_get_adjustment (GtkScaleButton *button); -void gtk_scale_button_set_adjustment (GtkScaleButton *button, - GtkAdjustment *adjustment); +GType gtk_scale_button_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_scale_button_new (GtkIconSize size, + gdouble min, + gdouble max, + gdouble step, + const gchar **icons); +void gtk_scale_button_set_icons (GtkScaleButton *button, + const gchar **icons); +gdouble gtk_scale_button_get_value (GtkScaleButton *button); +void gtk_scale_button_set_value (GtkScaleButton *button, + gdouble value); +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); +GtkWidget * gtk_scale_button_get_popup (GtkScaleButton *button); G_END_DECLS