summaryrefslogtreecommitdiff
path: root/gtk/gtkvolumebutton.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-06-26 17:14:27 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-06-26 17:14:27 +0000
commitd79185cf1fad10b606cdb17247b696a15fe1b303 (patch)
tree310d4cadb32ec2ed923c46929542b9988d94a075 /gtk/gtkvolumebutton.c
parent2f29e8d9f5c00ec14aa27f4f81b1bf092bcf6b45 (diff)
downloadgtk+-d79185cf1fad10b606cdb17247b696a15fe1b303.tar.gz
gtk/gtkscalebutton.c remove redundant init() and class_init() prototypes,
2008-06-26 Michael Natterer <mitch@imendio.com> * gtk/gtkscalebutton.c * gtk/gtkvolumebutton.c: remove redundant init() and class_init() prototypes, remove redundant includes, remove a little trailing whitespace. svn path=/trunk/; revision=20691
Diffstat (limited to 'gtk/gtkvolumebutton.c')
-rw-r--r--gtk/gtkvolumebutton.c25
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"