Commit 3f911b25 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

Fixed GtkEntry to report the proper default value for "primary/secondary-icon-activatable"

parent 2dafbba9
......@@ -1152,7 +1152,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_param_spec_boolean ("primary-icon-activatable",
P_("Primary icon activatable"),
P_("Whether the primary icon is activatable"),
FALSE,
TRUE,
GTK_PARAM_READWRITE));
/**
......@@ -1173,7 +1173,7 @@ gtk_entry_class_init (GtkEntryClass *class)
g_param_spec_boolean ("secondary-icon-activatable",
P_("Secondary icon activatable"),
P_("Whether the secondary icon is activatable"),
FALSE,
TRUE,
GTK_PARAM_READWRITE));
......@@ -7959,7 +7959,7 @@ gtk_entry_get_icon_activatable (GtkEntry *entry,
priv = entry->priv;
icon_info = priv->icons[icon_pos];
return (icon_info != NULL && !icon_info->nonactivatable);
return (!icon_info || !icon_info->nonactivatable);
}
/**
......
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