diff options
Diffstat (limited to 'gtk/gtkvolumebutton.c')
-rw-r--r-- | gtk/gtkvolumebutton.c | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/gtk/gtkvolumebutton.c b/gtk/gtkvolumebutton.c index d35acac1cb..d17585139f 100644 --- a/gtk/gtkvolumebutton.c +++ b/gtk/gtkvolumebutton.c @@ -24,13 +24,11 @@ * Modified by the GTK+ Team and others 2007. See the AUTHORS * file for a list of people on the GTK+ Team. See the ChangeLog * files for a list of changes. These files are distributed with - * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ #include "config.h" -#include <atk/atk.h> - #include "gtkvolumebutton.h" #include "gtkstock.h" #include "gtktooltip.h" @@ -45,17 +43,15 @@ struct _GtkVolumeButton GtkScaleButton parent; }; -static void gtk_volume_button_class_init (GtkVolumeButtonClass *klass); -static void gtk_volume_button_init (GtkVolumeButton *button); -static gboolean cb_query_tooltip (GtkWidget *button, - gint x, - gint y, - gboolean keyboard_mode, - GtkTooltip *tooltip, - gpointer user_data); -static void cb_value_changed (GtkVolumeButton *button, - gdouble value, - gpointer user_data); +static gboolean cb_query_tooltip (GtkWidget *button, + gint x, + gint y, + gboolean keyboard_mode, + GtkTooltip *tooltip, + gpointer user_data); +static void cb_value_changed (GtkVolumeButton *button, + gdouble value, + gpointer user_data); G_DEFINE_TYPE (GtkVolumeButton, gtk_volume_button, GTK_TYPE_SCALE_BUTTON) @@ -187,6 +183,5 @@ cb_value_changed (GtkVolumeButton *button, gdouble value, gpointer user_data) gtk_widget_trigger_tooltip_query (GTK_WIDGET (button)); } - #define __GTK_VOLUME_BUTTON_C__ #include "gtkaliasdef.c" |