gnome-menus r826 - in trunk: . libmenu



Author: vuntz
Date: Mon Jan 14 22:42:03 2008
New Revision: 826
URL: http://svn.gnome.org/viewvc/gnome-menus?rev=826&view=rev

Log:
2008-01-14  Vincent Untz  <vuntz gnome org>

	* libmenu/menu-monitor-gio.c:
	(menu_monitor_backend_register_monitor): update for
	g_file_monitor_directory()/g_file_monitor_file() API change


Modified:
   trunk/ChangeLog
   trunk/libmenu/menu-monitor-gio.c

Modified: trunk/libmenu/menu-monitor-gio.c
==============================================================================
--- trunk/libmenu/menu-monitor-gio.c	(original)
+++ trunk/libmenu/menu-monitor-gio.c	Mon Jan 14 22:42:03 2008
@@ -82,9 +82,11 @@
     }
 
   if (menu_monitor_get_is_directory (monitor))
-      file_monitor = g_file_monitor_directory (file, G_FILE_MONITOR_NONE, NULL);
+      file_monitor = g_file_monitor_directory (file, G_FILE_MONITOR_NONE,
+                                               NULL, NULL);
   else
-      file_monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL);
+      file_monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE,
+                                          NULL, NULL);
 
   g_object_unref (G_OBJECT (file));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]