diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-06-04 23:57:59 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:47 +0200 |
commit | f86456ccb5e7e0cb5d87e80f79382c953e35ac17 (patch) | |
tree | 9d7851bd16227aba8219b9305cd750fac1a13817 /gtk/gtkfontbutton.c | |
parent | 0991115ada766bfbaa1765a92b7478c83771095a (diff) | |
download | gtk+-f86456ccb5e7e0cb5d87e80f79382c953e35ac17.tar.gz |
gtkfontbutton: unseal private pointer
Diffstat (limited to 'gtk/gtkfontbutton.c')
-rw-r--r-- | gtk/gtkfontbutton.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 565654e870..db794c141d 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -44,7 +44,6 @@ #include <string.h> #include <stdio.h> -#define GTK_FONT_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButtonPrivate)) struct _GtkFontButtonPrivate { @@ -253,7 +252,9 @@ gtk_font_button_class_init (GtkFontButtonClass *klass) static void gtk_font_button_init (GtkFontButton *font_button) { - font_button->priv = GTK_FONT_BUTTON_GET_PRIVATE (font_button); + font_button->priv = G_TYPE_INSTANCE_GET_PRIVATE (font_button, + GTK_TYPE_FONT_BUTTON, + GtkFontButtonPrivate); /* Initialize fields */ font_button->priv->fontname = g_strdup (_("Sans 12")); |