[Xfce4-commits] [thunar-plugins/thunar-archive-plugin] 02/08: Drop use of GtkTooltips
noreply at xfce.org
noreply at xfce.org
Thu Nov 2 22:49:22 CET 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository thunar-plugins/thunar-archive-plugin.
commit 29b08f3a442052522929ffb088db76e5cec9cba6
Author: Andre Miranda <andre42m at gmail.com>
Date: Wed May 17 23:09:52 2017 -0300
Drop use of GtkTooltips
---
thunar-archive-plugin/tap-backend.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/thunar-archive-plugin/tap-backend.c b/thunar-archive-plugin/tap-backend.c
index ebe379c..3db7dc0 100644
--- a/thunar-archive-plugin/tap-backend.c
+++ b/thunar-archive-plugin/tap-backend.c
@@ -59,7 +59,6 @@ tap_backend_mime_ask (GList *mime_applications,
{
GAppInfo *mime_application = NULL;
GIcon *icon;
- GtkTooltips *tooltips;
GtkWidget *button;
GtkWidget *dialog;
GtkWidget *image;
@@ -73,10 +72,6 @@ tap_backend_mime_ask (GList *mime_applications,
gchar *space;
GList *mp;
- /* allocate tooltips */
- tooltips = gtk_tooltips_new ();
- g_object_ref_sink (tooltips);
-
/* prepare the dialog to query the preferred archiver for the user */
dialog = gtk_dialog_new_with_buttons (_("Select an archive manager"),
GTK_WINDOW (parent),
@@ -128,7 +123,7 @@ tap_backend_mime_ask (GList *mime_applications,
space = strchr (command, ' ');
if (G_LIKELY (space != NULL))
*space = '\0';
- gtk_tooltips_set_tip (tooltips, button, command, NULL);
+ gtk_widget_set_tooltip_text (button, command);
g_free (command);
/* add the hbox */
@@ -167,7 +162,6 @@ tap_backend_mime_ask (GList *mime_applications,
}
/* cleanup */
- g_object_unref (G_OBJECT (tooltips));
gtk_widget_destroy (dialog);
return mime_application;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list