gnome-power-manager r3161 - in trunk: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3161 - in trunk: . src
- Date: Thu, 15 Jan 2009 16:37:57 +0000 (UTC)
Author: rhughes
Date: Thu Jan 15 16:37:57 2009
New Revision: 3161
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3161&view=rev
Log:
2009-01-15 Richard Hughes <richard hughsie com>
* src/gpm-prefs-core.c: (pk_prefs_set_defaults_cb):
Fix build when building self checks.
Modified:
trunk/ChangeLog
trunk/src/gpm-prefs-core.c
Modified: trunk/src/gpm-prefs-core.c
==============================================================================
--- trunk/src/gpm-prefs-core.c (original)
+++ trunk/src/gpm-prefs-core.c Thu Jan 15 16:37:57 2009
@@ -972,10 +972,11 @@
static void
pk_prefs_set_defaults_cb (PolKitGnomeAction *default_action, GpmPrefs *prefs)
{
+ GConfClient *client;
DBusGProxy *proxy;
DBusGConnection *connection;
GError *error;
- gchar *keys[5] = {
+ const gchar *keys[5] = {
"/apps/gnome-power-manager/actions",
"/apps/gnome-power-manager/ui",
"/apps/gnome-power-manager/buttons",
@@ -1000,7 +1001,6 @@
return;
}
- GConfClient *client;
client = gconf_client_get_default ();
gconf_client_suggest_sync (client, NULL);
g_object_unref (client);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]