X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgkeyfilesettingsbackend.c;h=0dd802b4f94326ad24a7c47c5b516b6a652d3be7;hb=ffe286e647ce9ba9bb8e1631ba3cf0194038f438;hp=6f97da4f3c8f7b43e3e5776a5601434f2809af31;hpb=1fba61981a80c7a536113ba55f5a6acee8cd230c;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gkeyfilesettingsbackend.c b/gio/gkeyfilesettingsbackend.c index 6f97da4..0dd802b 100644 --- a/gio/gkeyfilesettingsbackend.c +++ b/gio/gkeyfilesettingsbackend.c @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library; if not, see . * * Authors: Vincent Untz * Ryan Lortie @@ -538,7 +536,8 @@ g_keyfile_settings_backend_class_init (GKeyfileSettingsBackendClass *class) class->get_permission = g_keyfile_settings_backend_get_permission; /* No need to implement subscribed/unsubscribe: the only point would be to * stop monitoring the file when there's no GSettings anymore, which is no - * big win. */ + * big win. + */ } static void @@ -642,8 +641,8 @@ g_keyfile_settings_backend_new (const gchar *filename, kfsb->dir = g_file_get_parent (kfsb->file); g_file_make_directory_with_parents (kfsb->dir, NULL, NULL); - kfsb->file_monitor = g_file_monitor_file (kfsb->file, 0, NULL, NULL); - kfsb->dir_monitor = g_file_monitor_file (kfsb->dir, 0, NULL, NULL); + kfsb->file_monitor = g_file_monitor (kfsb->file, 0, NULL, NULL); + kfsb->dir_monitor = g_file_monitor (kfsb->dir, 0, NULL, NULL); kfsb->prefix_len = strlen (root_path); kfsb->prefix = g_strdup (root_path);