Commit f86456cc authored by Javier Jardón's avatar Javier Jardón

gtkfontbutton: unseal private pointer

parent 0991115a
......@@ -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"));
......
......@@ -54,7 +54,7 @@ struct _GtkFontButton {
GtkButton button;
/*< private >*/
GtkFontButtonPrivate *GSEAL (priv);
GtkFontButtonPrivate *priv;
};
struct _GtkFontButtonClass {
......
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