diff options
author | raveit65 <[email protected]> | 2012-09-28 13:56:41 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2012-09-28 13:56:41 +0200 |
commit | c0ea7fefe55f518145afd68f201bb6ed07d6e866 (patch) | |
tree | fb36698c7c1aef79bcc1fd33cf56596d4cdd4dd9 /src/file-share-properties.c | |
parent | 8326e3b51e36244b8ae04f4d8dd010b9fbf25af1 (diff) | |
download | mate-user-share-c0ea7fefe55f518145afd68f201bb6ed07d6e866.tar.bz2 mate-user-share-c0ea7fefe55f518145afd68f201bb6ed07d6e866.tar.xz |
fix gsettings again
remove g_object_unref
add static GSettings* settings
add g_signal_connect as substitution for mateconf_client_notify_add
Diffstat (limited to 'src/file-share-properties.c')
-rw-r--r-- | src/file-share-properties.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file-share-properties.c b/src/file-share-properties.c index 6d0fbd6..0ec5594 100644 --- a/src/file-share-properties.c +++ b/src/file-share-properties.c @@ -46,6 +46,7 @@ #define GSETTINGS_KEY_FILE_SHARING_BLUETOOTH_OBEXPUSH_NOTIFY "bluetooth-notify" static GtkBuilder* builder; +static GSettings* settings; static void @@ -624,8 +625,6 @@ main (int argc, char *argv[]) - g_object_unref (settings); - gtk_widget_show (GTK_WIDGET (gtk_builder_get_object (builder, "user_share_dialog"))); gtk_main (); |