[gnome-settings-daemon] xsettings: Prefix _get_modules properly
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xsettings: Prefix _get_modules properly
- Date: Wed, 27 Oct 2010 13:49:17 +0000 (UTC)
commit 23e601c25c5ad7add09f94b56fff2c2b43cfaf67
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 27 14:47:46 2010 +0100
xsettings: Prefix _get_modules properly
Use the namespace from the object, not some random one.
plugins/xsettings/gsd-xsettings-gtk.c | 2 +-
plugins/xsettings/gsd-xsettings-gtk.h | 2 +-
plugins/xsettings/gsd-xsettings-manager.c | 2 +-
plugins/xsettings/test-gtk-modules.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-gtk.c b/plugins/xsettings/gsd-xsettings-gtk.c
index 4a9513e..a26b11a 100644
--- a/plugins/xsettings/gsd-xsettings-gtk.c
+++ b/plugins/xsettings/gsd-xsettings-gtk.c
@@ -368,7 +368,7 @@ gsd_xsettings_gtk_new (void)
}
const char *
-gsd_xsettings_get_modules (GsdXSettingsGtk *gtk)
+gsd_xsettings_gtk_get_modules (GsdXSettingsGtk *gtk)
{
return gtk->priv->modules;
}
diff --git a/plugins/xsettings/gsd-xsettings-gtk.h b/plugins/xsettings/gsd-xsettings-gtk.h
index 7d4d2c4..e761869 100644
--- a/plugins/xsettings/gsd-xsettings-gtk.h
+++ b/plugins/xsettings/gsd-xsettings-gtk.h
@@ -51,7 +51,7 @@ GType gsd_xsettings_gtk_get_type (void) G_GNUC_CONST;
GsdXSettingsGtk *gsd_xsettings_gtk_new (void);
-const char * gsd_xsettings_get_modules (GsdXSettingsGtk *gtk);
+const char * gsd_xsettings_gtk_get_modules (GsdXSettingsGtk *gtk);
G_END_DECLS
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 2530a1d..5ddaf9c 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -473,7 +473,7 @@ gtk_modules_callback (GsdXSettingsGtk *gtk,
GParamSpec *spec,
GnomeXSettingsManager *manager)
{
- const char *modules = gsd_xsettings_get_modules (manager->priv->gtk);
+ const char *modules = gsd_xsettings_gtk_get_modules (manager->priv->gtk);
int i;
if (modules == NULL) {
diff --git a/plugins/xsettings/test-gtk-modules.c b/plugins/xsettings/test-gtk-modules.c
index dd117f1..21fcee8 100644
--- a/plugins/xsettings/test-gtk-modules.c
+++ b/plugins/xsettings/test-gtk-modules.c
@@ -9,7 +9,7 @@ gtk_modules_callback (GsdXSettingsGtk *gtk,
{
const char *modules;
- modules = gsd_xsettings_get_modules (gtk);
+ modules = gsd_xsettings_gtk_get_modules (gtk);
g_message ("GTK+ modules list changed to: %s", modules ? modules : "(empty)");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]