Commit 59942f91 authored by Javier Jardón's avatar Javier Jardón

GtkLinkButton: unseal private pointer

parent 801708b9
......@@ -58,7 +58,6 @@ enum
PROP_VISITED
};
#define GTK_LINK_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_LINK_BUTTON, GtkLinkButtonPrivate))
static void gtk_link_button_finalize (GObject *object);
static void gtk_link_button_get_property (GObject *object,
......@@ -167,8 +166,10 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
static void
gtk_link_button_init (GtkLinkButton *link_button)
{
link_button->priv = GTK_LINK_BUTTON_GET_PRIVATE (link_button),
link_button->priv = G_TYPE_INSTANCE_GET_PRIVATE (link_button,
GTK_TYPE_LINK_BUTTON,
GtkLinkButtonPrivate);
gtk_button_set_relief (GTK_BUTTON (link_button), GTK_RELIEF_NONE);
g_signal_connect (link_button, "enter-notify-event",
......
......@@ -52,7 +52,7 @@ struct _GtkLinkButton
{
GtkButton parent_instance;
GtkLinkButtonPrivate *GSEAL (priv);
GtkLinkButtonPrivate *priv;
};
struct _GtkLinkButtonClass
......
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