Commit e0040ace authored by Benjamin Otte's avatar Benjamin Otte

tests: Make gtkgears compile without complaints

parent f5da87dd
......@@ -48,7 +48,7 @@ static gboolean gtk_gears_tick (GtkWidget *widget,
gpointer user_data);
GtkWidget *
gtk_gears_new ()
gtk_gears_new (void)
{
GtkWidget *gears;
......
......@@ -20,16 +20,20 @@ enum {
#define GTK_IS_GEARS(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_GEARS))
typedef struct {
typedef struct _GtkGears GtkGears;
typedef struct _GtkGearsClass GtkGearsClass;
struct _GtkGears {
GtkGLArea parent;
} GtkGears;
};
typedef struct {
struct _GtkGearsClass {
GtkGLAreaClass parent_class;
} GtkGearsClass;
};
GType gtk_gears_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_gears_new ();
GtkWidget *gtk_gears_new (void);
void gtk_gears_set_axis (GtkGears *gears,
int axis,
double value);
......
Markdown is supported
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