diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-07-13 01:09:28 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:50 +0200 |
commit | e6db32de44a1c85472939275ba554cfbb50354c9 (patch) | |
tree | 4fd14143c3cfb04593cf2bee18847401a22b04ee /gtk/gtkspinner.c | |
parent | c17dad9d3254d8b7bdab556fe09e7164b27af950 (diff) | |
download | gtk+-e6db32de44a1c85472939275ba554cfbb50354c9.tar.gz |
gtkspinner: Remove GET_PRIVATE macro
Diffstat (limited to 'gtk/gtkspinner.c')
-rw-r--r-- | gtk/gtkspinner.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c index f3fbfffbe8..a4ab26a49a 100644 --- a/gtk/gtkspinner.c +++ b/gtk/gtkspinner.c @@ -53,8 +53,6 @@ */ -#define GTK_SPINNER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_SPINNER, GtkSpinnerPrivate)) - G_DEFINE_TYPE (GtkSpinner, gtk_spinner, GTK_TYPE_DRAWING_AREA); enum { @@ -204,7 +202,9 @@ gtk_spinner_init (GtkSpinner *spinner) { GtkSpinnerPrivate *priv; - priv = GTK_SPINNER_GET_PRIVATE (spinner); + priv = G_TYPE_INSTANCE_GET_PRIVATE (spinner, + GTK_TYPE_SPINNER, + GtkSpinnerPrivate); priv->current = 0; priv->timeout = 0; |