[Xfce4-commits] [apps/xfce4-dict] 24/43: Remove GtkTooltips
noreply at xfce.org
noreply at xfce.org
Tue Nov 1 00:31:37 CET 2016
This is an automated email from the git hooks/post-receive script.
andre pushed a commit to branch master
in repository apps/xfce4-dict.
commit 8dfb917c9ba3fe6293d51ff912d9efa0cd794a2b
Author: Andre Miranda <andre42m at gmail.com>
Date: Sun Aug 21 15:53:00 2016 -0300
Remove GtkTooltips
---
panel-plugin/xfce4-dict-plugin.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/panel-plugin/xfce4-dict-plugin.c b/panel-plugin/xfce4-dict-plugin.c
index c9f1ac2..031e98f 100644
--- a/panel-plugin/xfce4-dict-plugin.c
+++ b/panel-plugin/xfce4-dict-plugin.c
@@ -43,8 +43,6 @@ typedef struct
DictData *dd;
XfcePanelPlugin *plugin;
- GtkTooltips *tooltips;
-
GtkWidget *panel_button;
GtkWidget *panel_button_image;
GtkWidget *box;
@@ -227,8 +225,6 @@ static void dict_plugin_free_data(XfcePanelPlugin *plugin, DictPanelData *dpd)
if (dialog != NULL)
gtk_widget_destroy(dialog);
- gtk_object_sink(GTK_OBJECT(dpd->tooltips));
-
dict_free_data(dpd->dd);
g_free(dpd);
}
@@ -375,9 +371,7 @@ static void dict_plugin_construct(XfcePanelPlugin *plugin)
dict_read_rc_file(dpd->dd);
dpd->panel_button = xfce_create_panel_button();
-
- dpd->tooltips = gtk_tooltips_new();
- gtk_tooltips_set_tip(dpd->tooltips, dpd->panel_button, _("Look up a word"), NULL);
+ gtk_widget_set_tooltip_text (dpd->panel_button, _("Look up a word"));
dpd->panel_button_image = gtk_image_new();
gtk_container_add(GTK_CONTAINER(dpd->panel_button), GTK_WIDGET(dpd->panel_button_image));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list