[tracker] Fix compile warnings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Fix compile warnings
- Date: Thu, 16 Jul 2009 13:13:07 +0000 (UTC)
commit 6f43ea785e6ac029497ad96277a575aeee952370
Author: Jürg Billeter <j bitron ch>
Date: Thu Jul 16 15:10:41 2009 +0200
Fix compile warnings
src/tracker-applet/tracker-applet.c | 4 ++++
src/tracker-store/tracker-main.c | 19 ++++++++++++-------
2 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker-applet/tracker-applet.c b/src/tracker-applet/tracker-applet.c
index 2e12815..557501d 100644
--- a/src/tracker-applet/tracker-applet.c
+++ b/src/tracker-applet/tracker-applet.c
@@ -1540,6 +1540,7 @@ create_context_menu (TrayIcon *icon)
gtk_widget_show_all (GTK_WIDGET (priv->menu));
}
+#if 0
static void
index_finished (DBusGProxy *proxy,
gdouble seconds_elapsed,
@@ -1593,6 +1594,7 @@ index_error (DBusGProxy *proxy,
_("There was an error while performing indexing:"),
reason);
}
+#endif
static void
index_service_stats_updated (DBusGProxy *proxy,
@@ -1739,6 +1741,7 @@ index_state_changed (DBusGProxy *proxy,
}
}
+#if 0
static void
index_progress_changed (DBusGProxy *proxy,
const gchar *service,
@@ -1768,6 +1771,7 @@ index_progress_changed (DBusGProxy *proxy,
set_status_hint (icon);
set_icon (priv);
}
+#endif
static void
init_settings (TrayIcon *icon)
diff --git a/src/tracker-store/tracker-main.c b/src/tracker-store/tracker-main.c
index 8ee2b40..68f0edc 100644
--- a/src/tracker-store/tracker-main.c
+++ b/src/tracker-store/tracker-main.c
@@ -169,6 +169,7 @@ private_free (gpointer data)
#ifdef HAVE_HAL
+#if 0
static MountPointUpdate *
mount_point_update_new (const gchar *udi,
const gchar *mount_point,
@@ -231,6 +232,7 @@ mount_point_set_cb (DBusGProxy *proxy,
mount_point_update_free (mpu);
}
+#endif
static void
mount_point_added_cb (TrackerStorage *hal,
@@ -238,13 +240,13 @@ mount_point_added_cb (TrackerStorage *hal,
const gchar *mount_point,
gpointer user_data)
{
+ /* TODO: Fix volume handling in tracker-store / tracker-indexer
+
TrackerMainPrivate *private;
MountPointUpdate *mpu;
private = g_static_private_get (&private_key);
- /* TODO: Fix volume handling in tracker-store / tracker-indexer
-
g_message ("Indexer is being notified about added UDI:");
g_message (" %s", udi);
@@ -258,6 +260,7 @@ mount_point_added_cb (TrackerStorage *hal,
*/
}
+#if 0
static void
mount_point_set_and_signal_cb (DBusGProxy *proxy,
GError *error,
@@ -284,6 +287,7 @@ mount_point_set_and_signal_cb (DBusGProxy *proxy,
g_free (user_data);
}
+#endif
static void
mount_point_removed_cb (TrackerStorage *hal,
@@ -291,13 +295,13 @@ mount_point_removed_cb (TrackerStorage *hal,
const gchar *mount_point,
gpointer user_data)
{
+ /* TODO: Fix volume handling in tracker-store / tracker-indexer
+
TrackerMainPrivate *private;
MountPointUpdate *mpu;
private = g_static_private_get (&private_key);
- /* TODO: Fix volume handling in tracker-store / tracker-indexer
-
g_message ("Indexer is being notified about removed UDI:");
g_message (" %s", udi);
@@ -542,18 +546,19 @@ backup_user_metadata (TrackerConfig *config,
static void
set_up_mount_points (TrackerStorage *hal)
{
+ /* TODO: Fix volume handling in tracker-store / tracker-indexer
+
TrackerMainPrivate *private;
GError *error = NULL;
GList *roots, *l;
private = g_static_private_get (&private_key);
- /* Merging: This has something to do with "mount_points_to_set", which apparently
+ * Merging: This has something to do with "mount_points_to_set", which apparently
* we don't have here in master apparently (but which tracker-0.6 uses)
*
- * tracker_status_set_is_paused_for_dbus (TRUE); */
+ * tracker_status_set_is_paused_for_dbus (TRUE);
- /* TODO: Fix volume handling in tracker-store / tracker-indexer
g_message ("Indexer is being notified to disable all volumes");
org_freedesktop_Tracker_Indexer_volume_disable_all (tracker_dbus_indexer_get_proxy (), &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]