[Xfce4-commits] [thunar-plugins/thunar-shares-plugin] 01/01: Remove unused THUNARX_TYPE_PREFERENCES_PROVIDER, since it may cause crashes (iface->get_menu_items not implemented)

noreply at xfce.org noreply at xfce.org
Tue Mar 31 09:24:40 CEST 2020


This is an automated email from the git hooks/post-receive script.

a   l   e   x       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-shares-plugin.

commit 73fa7e80db76b1ca4148d450177ae3613fb75eef
Author: Alexander Schwinn <alexxcons at xfce.org>
Date:   Tue Mar 31 09:24:14 2020 +0200

    Remove unused THUNARX_TYPE_PREFERENCES_PROVIDER, since it may cause
    crashes (iface->get_menu_items not implemented)
---
 thunar-plugin/tsp-provider.c | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/thunar-plugin/tsp-provider.c b/thunar-plugin/tsp-provider.c
index a5d9ab5..f9cb888 100644
--- a/thunar-plugin/tsp-provider.c
+++ b/thunar-plugin/tsp-provider.c
@@ -32,8 +32,6 @@
 static void     tsp_provider_finalize            (GObject                          *object);
 
 static void     tsp_provider_page_provider_init  (ThunarxPropertyPageProviderIface *iface);
-static void     tsp_provider_prefs_provider_init (ThunarxPreferencesProviderIface  *iface);
-
 static GList   *tsp_provider_get_pages           (ThunarxPropertyPageProvider      *provider,
                                                   GList                            *files);
 
@@ -51,9 +49,7 @@ THUNARX_DEFINE_TYPE_WITH_CODE (TspProvider,
                                tsp_provider,
                                G_TYPE_OBJECT,
                                THUNARX_IMPLEMENT_INTERFACE (THUNARX_TYPE_PROPERTY_PAGE_PROVIDER,
-                                                            tsp_provider_page_provider_init)
-                               THUNARX_IMPLEMENT_INTERFACE (THUNARX_TYPE_PREFERENCES_PROVIDER,
-                                                            tsp_provider_prefs_provider_init));
+                                                            tsp_provider_page_provider_init));
 
 static void
 tsp_provider_class_init (TspProviderClass *klass)
@@ -82,12 +78,6 @@ tsp_provider_page_provider_init (ThunarxPropertyPageProviderIface *iface)
   iface->get_pages = tsp_provider_get_pages;
 }
 
-static void
-tsp_provider_prefs_provider_init (ThunarxPreferencesProviderIface *iface)
-{
-  /* Bleh..! */
-}
-
 static GList*
 tsp_provider_get_pages (ThunarxPropertyPageProvider *property_page_provider,
                         GList                       *files)

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


More information about the Xfce4-commits mailing list