[gnome-flashback] automount-manager: fix build warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] automount-manager: fix build warnings
- Date: Fri, 10 Jul 2015 20:46:53 +0000 (UTC)
commit 42ce64615a77ffd6f2fa10e19f2c231031c20b7a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Jul 10 19:55:55 2015 +0300
automount-manager: fix build warnings
.../libautomount-manager/gsd-automount-manager.c | 7 ++-----
gnome-flashback/libautomount-manager/gsd-autorun.c | 2 ++
2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gnome-flashback/libautomount-manager/gsd-automount-manager.c
b/gnome-flashback/libautomount-manager/gsd-automount-manager.c
index 43366fc..7252842 100644
--- a/gnome-flashback/libautomount-manager/gsd-automount-manager.c
+++ b/gnome-flashback/libautomount-manager/gsd-automount-manager.c
@@ -52,12 +52,9 @@ struct GsdAutomountManagerPrivate
GList *volume_queue;
};
-static void gsd_automount_manager_class_init (GsdAutomountManagerClass *klass);
-static void gsd_automount_manager_init (GsdAutomountManager *gsd_automount_manager);
-
G_DEFINE_TYPE (GsdAutomountManager, gsd_automount_manager, G_TYPE_OBJECT)
-GDBusProxy *
+static GDBusProxy *
get_session_proxy (void)
{
static GDBusProxy *session_proxy;
@@ -514,7 +511,7 @@ setup_automounter (GsdAutomountManager *manager)
manager, NULL);
}
-void
+static void
gsd_automount_manager_finalize (GObject *object)
{
GsdAutomountManager *manager = GSD_AUTOMOUNT_MANAGER (object);
diff --git a/gnome-flashback/libautomount-manager/gsd-autorun.c
b/gnome-flashback/libautomount-manager/gsd-autorun.c
index d5112df..f6dddfe 100644
--- a/gnome-flashback/libautomount-manager/gsd-autorun.c
+++ b/gnome-flashback/libautomount-manager/gsd-autorun.c
@@ -580,6 +580,8 @@ autorun_dialog_response (GtkDialog *dialog, gint response, AutorunDialogData *da
data->open_window_func (data->mount, data->user_data);
}
break;
+ default:
+ break;
}
autorun_dialog_destroy (data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]