diff options
author | Timm Bäder <mail@baedert.org> | 2019-08-25 14:30:33 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-09-09 17:36:24 +0200 |
commit | afb3715700b49b054f1048e1b6fc36643f0f89ca (patch) | |
tree | 334d6395ec7c6b17dee8bb39e9ff4900d6e0c913 /gtk/gtklinkbutton.c | |
parent | 6be4279f391ab95b2396b9cc454a92d7b4e83a6f (diff) | |
download | gtk+-afb3715700b49b054f1048e1b6fc36643f0f89ca.tar.gz |
linkbutton: Use widget API to set has-toolip
As God intended.
Diffstat (limited to 'gtk/gtklinkbutton.c')
-rw-r--r-- | gtk/gtklinkbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c index e69b98d92e..c8cc0aad2d 100644 --- a/gtk/gtklinkbutton.c +++ b/gtk/gtklinkbutton.c @@ -260,11 +260,11 @@ gtk_link_button_init (GtkLinkButton *link_button) gtk_button_set_relief (GTK_BUTTON (link_button), GTK_RELIEF_NONE); gtk_widget_set_state_flags (GTK_WIDGET (link_button), GTK_STATE_FLAG_LINK, FALSE); + gtk_widget_set_has_tooltip (GTK_WIDGET (link_button), TRUE); g_signal_connect (link_button, "drag-data-get", G_CALLBACK (gtk_link_button_drag_data_get_cb), NULL); - g_object_set (link_button, "has-tooltip", TRUE, NULL); g_signal_connect (link_button, "query-tooltip", G_CALLBACK (gtk_link_button_query_tooltip_cb), NULL); |