Commit c22b8094 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

spinner: Move G_DEFINE_TYPE() below function definitions

Also remove redundant double definition.
parent 419e1548
......@@ -53,8 +53,6 @@
*/
G_DEFINE_TYPE (GtkSpinner, gtk_spinner, GTK_TYPE_DRAWING_AREA);
#define SPINNER_SIZE 12
enum {
......@@ -71,8 +69,6 @@ struct _GtkSpinnerPrivate
guint timeout;
};
static void gtk_spinner_class_init (GtkSpinnerClass *klass);
static void gtk_spinner_init (GtkSpinner *spinner);
static void gtk_spinner_dispose (GObject *gobject);
static void gtk_spinner_realize (GtkWidget *widget);
static void gtk_spinner_unrealize (GtkWidget *widget);
......@@ -95,6 +91,8 @@ static void gtk_spinner_set_active (GtkSpinner *spinner,
static AtkObject *gtk_spinner_get_accessible (GtkWidget *widget);
static GType gtk_spinner_accessible_get_type (void);
G_DEFINE_TYPE (GtkSpinner, gtk_spinner, GTK_TYPE_DRAWING_AREA);
static void
gtk_spinner_class_init (GtkSpinnerClass *klass)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment