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

nomad pushed a 
commit to branch 
master
in repository apps/xfdashboard.

commit 5bdb0022a7420322e586c52cefe4e2060860cfba
Author: DanielChabrowski <[email protected]>
Date:   Sat Mar 14 19:30:45 2020 +0100

    Fix compilation - undeclared self
---
 libxfdashboard/application-database.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/libxfdashboard/application-database.c 
b/libxfdashboard/application-database.c
index fc7d6e7..379d413 100644
--- a/libxfdashboard/application-database.c
+++ b/libxfdashboard/application-database.c
@@ -1610,12 +1610,16 @@ gchar* 
xfdashboard_application_database_get_file_from_desktop_id(const gchar *in
 
        g_return_val_if_fail(inDesktopID && *inDesktopID, NULL);
 
+       /* Get singleton of application database */
+       appDB=xfdashboard_application_database_get_default();
+
        /* Requested desktop ID must have ".desktop" suffix */
        if(!g_str_has_suffix(inDesktopID, ".desktop"))
        {
-               XFDASHBOARD_DEBUG(self, APPLICATIONS,
+               XFDASHBOARD_DEBUG(appDB, APPLICATIONS,
                                                        "Skipping non-desktop 
file '%s'",
                                                        inDesktopID);
+               g_object_unref(appDB);
                return(NULL);
        }
 
@@ -1645,9 +1649,6 @@ gchar* 
xfdashboard_application_database_get_file_from_desktop_id(const gchar *in
         * 5.) If this step is reached, no desktop file was found.
         */
 
-       /* Get singleton of application database */
-       appDB=xfdashboard_application_database_get_default();
-
        /* Get search paths */
        
searchPaths=xfdashboard_application_database_get_application_search_paths(appDB);
        if(!searchPaths)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to