Commit 1110375f authored by Tristan Van Berkom's avatar Tristan Van Berkom

spinner: Dont inherit from GtkDrawingArea part 2.

Seems commit 7b42d4fe makes
GtkSpinner a direct subclass of GtkWidget but forgets to
update the header file to include gtkwidget.h instead and
declare the instance and class structures properly (assuming
this was just a missed file in the commit).
parent f5a06df3
......@@ -29,7 +29,7 @@
#ifndef __GTK_SPINNER_H__
#define __GTK_SPINNER_H__
#include <gtk/gtkdrawingarea.h>
#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
......@@ -46,7 +46,7 @@ typedef struct _GtkSpinnerPrivate GtkSpinnerPrivate;
struct _GtkSpinner
{
GtkDrawingArea parent;
GtkWidget parent;
/* <private> */
GtkSpinnerPrivate *priv;
......@@ -54,7 +54,7 @@ struct _GtkSpinner
struct _GtkSpinnerClass
{
GtkDrawingAreaClass parent_class;
GtkWidgetClass parent_class;
};
GType gtk_spinner_get_type (void) G_GNUC_CONST;
......
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