[ekiga/ds-gsettings3] GmWindow: Completed GSettings porting.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gsettings3] GmWindow: Completed GSettings porting.
- Date: Mon, 11 Nov 2013 18:20:00 +0000 (UTC)
commit c9582f454226d6129cb7949135198f5a79c7fcc5
Author: Damien Sandras <dsandras beip be>
Date: Mon Nov 11 18:40:19 2013 +0100
GmWindow: Completed GSettings porting.
There was a forgotten gmconf function.
lib/gui/gmwindow.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/lib/gui/gmwindow.c b/lib/gui/gmwindow.c
index 447dd23..5734335 100644
--- a/lib/gui/gmwindow.c
+++ b/lib/gui/gmwindow.c
@@ -32,12 +32,11 @@
* begin : 16 August 2007
* copyright : (c) 2007 by Damien Sandras
* description : Implementation of a GtkWindow able to restore
- * its position and size in a GmConf key.
+ * its position and size in a GSettings key.
*
*/
#include "gmwindow.h"
-#include "gmconf.h"
#include <gdk/gdkkeysyms.h>
#include <stdlib.h>
@@ -383,7 +382,7 @@ gm_window_get_size (GmWindow *self,
g_return_if_fail (GM_IS_WINDOW (self) && x != NULL && y != NULL);
conf_key_size = g_strdup_printf ("%s/size", self->priv->key);
- size = gm_conf_get_string (conf_key_size);
+ size = g_settings_get_string (self->priv->settings, "size");
if (size)
couple = g_strsplit (size, ",", 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]