[tracker/wip/carlosg/fix-flaky-timeouts: 1/2] libtracker-sparql: Fix typo



commit d44bf0e1ae2cb5a49c0cb35f960c9264b8316559
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Jun 27 12:39:29 2020 +0200

    libtracker-sparql: Fix typo
    
    We want to fetch the class here o\.

 src/libtracker-sparql/tracker-notifier.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-sparql/tracker-notifier.c b/src/libtracker-sparql/tracker-notifier.c
index 9c32478bb..22afeda66 100644
--- a/src/libtracker-sparql/tracker-notifier.c
+++ b/src/libtracker-sparql/tracker-notifier.c
@@ -336,7 +336,7 @@ get_service_name (TrackerNotifier           *notifier,
        /* This is a hackish way to find out we are dealing with DBus connections,
         * without pulling its header.
         */
-       if (g_object_class_find_property (G_OBJECT_CLASS (priv->connection), "bus-name")) {
+       if (g_object_class_find_property (G_OBJECT_GET_CLASS (priv->connection), "bus-name")) {
                gchar *bus_name, *bus_object_path;
                gboolean is_self;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]