[Xfce4-commits] [xfce/thunar] 06/07: Remove unused icon factory

noreply at xfce.org noreply at xfce.org
Sat Jun 2 18:35:51 CEST 2018


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 xfce/thunar.

commit 00ba8e477080a8c202195245eb5320cd2eb460ba
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Jun 2 13:29:35 2018 -0300

    Remove unused icon factory
---
 thunar/thunar-launcher.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/thunar/thunar-launcher.c b/thunar/thunar-launcher.c
index c896335..444ddc0 100644
--- a/thunar/thunar-launcher.c
+++ b/thunar/thunar-launcher.c
@@ -138,7 +138,6 @@ struct _ThunarLauncher
 
   guint                   launcher_idle_id;
 
-  GtkIconFactory         *icon_factory;
   GtkActionGroup         *action_group;
   GtkUIManager           *ui_manager;
   guint                   ui_merge_id;
@@ -284,10 +283,6 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   launcher->action_open_with_other_in_menu = gtk_action_group_get_action (launcher->action_group, "open-with-other-in-menu");
 G_GNUC_END_IGNORE_DEPRECATIONS
 
-  /* initialize and add our custom icon factory for the application/action icons */
-  launcher->icon_factory = gtk_icon_factory_new ();
-  gtk_icon_factory_add_default (launcher->icon_factory);
-
   /* setup the "Send To" support */
   launcher->sendto_model = thunar_sendto_model_get_default ();
 
@@ -331,10 +326,6 @@ thunar_launcher_finalize (GObject *object)
   if (G_UNLIKELY (launcher->launcher_idle_id != 0))
     g_source_remove (launcher->launcher_idle_id);
 
-  /* drop our custom icon factory for the application/action icons */
-  gtk_icon_factory_remove_default (launcher->icon_factory);
-  g_object_unref (launcher->icon_factory);
-
   /* release the reference on the action group */
   g_object_unref (launcher->action_group);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list