diff options
author | Stefano Karapetsas <[email protected]> | 2012-09-05 19:17:02 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-09-05 19:17:02 +0200 |
commit | 1a64f79e50328465453567515ddd62c3ea394662 (patch) | |
tree | 95ce553e1bb6bde6c9dcdc738ae117e2b92ec878 | |
parent | a114197e7fd0a8dba9fbafccac03c795d3819a9b (diff) | |
download | caja-1a64f79e50328465453567515ddd62c3ea394662.tar.bz2 caja-1a64f79e50328465453567515ddd62c3ea394662.tar.xz |
fix desktop-is-home-dir gsettings conversion
-rw-r--r-- | libcaja-private/caja-file-utilities.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcaja-private/caja-file-utilities.c b/libcaja-private/caja-file-utilities.c index 7b0647a8..61ad5c47 100644 --- a/libcaja-private/caja-file-utilities.c +++ b/libcaja-private/caja-file-utilities.c @@ -786,9 +786,9 @@ caja_is_desktop_directory (GFile *dir) if (!desktop_dir_changed_callback_installed) { - eel_preferences_add_callback (CAJA_PREFERENCES_DESKTOP_IS_HOME_DIR, - desktop_dir_changed_callback, - NULL); + g_signal_connect_swapped (caja_preferences, "changed::" CAJA_PREFERENCES_DESKTOP_IS_HOME_DIR, + G_CALLBACK(desktop_dir_changed_callback), + NULL); desktop_dir_changed_callback_installed = TRUE; } |