epiphany r7864 - in trunk: . embed embed/mozilla embed/xulrunner/embed src



Author: cosimoc
Date: Mon Jan 14 20:26:23 2008
New Revision: 7864
URL: http://svn.gnome.org/viewvc/epiphany?rev=7864&view=rev

Log:
Update to new glib 2.15.2 API, bump glib dep and remove a 
remaining gnome-vfs bit from configure.ac.


Modified:
   trunk/configure.ac
   trunk/embed/ephy-base-embed.c
   trunk/embed/mozilla/mozilla-embed-single.cpp
   trunk/embed/xulrunner/embed/mozilla-embed-single.cpp
   trunk/src/ephy-extensions-manager.c

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Mon Jan 14 20:26:23 2008
@@ -90,16 +90,15 @@
 if test "$enable_maintainer_mode" = "yes"; then
 	AC_DEFINE([MAINTAINER_MODE],[1],[Define to enable 'maintainer-only' behaviour])
 	enable_debug=yes
-	DEPRECATION_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
+	DEPRECATION_FLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
 	GECKO_WARN_CXXFLAGS="-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth $GECKO_WARN_CXXFLAGS"
 fi
 
-GLIB_REQUIRED=2.15.1
+GLIB_REQUIRED=2.15.2
 GTK_REQUIRED=2.11.6
 LIBXML_REQUIRED=2.6.12
 LIBXSLT_REQUIRED=1.1.7
 LIBGLADE_REQUIRED=2.3.1
-LIBGNOMEVFS_REQUIRED=2.9.2
 LIBGNOME_REQUIRED=2.14.0
 LIBGNOMEUI_REQUIRED=2.14.0
 GNOME_DESKTOP_REQUIRED=2.9.91

Modified: trunk/embed/ephy-base-embed.c
==============================================================================
--- trunk/embed/ephy-base-embed.c	(original)
+++ trunk/embed/ephy-base-embed.c	Mon Jan 14 20:26:23 2008
@@ -1397,7 +1397,7 @@
   g_object_unref (file_info);
 
   if (file_type == G_FILE_TYPE_DIRECTORY) {
-    monitor = g_file_monitor_directory (file, 0, NULL);
+    monitor = g_file_monitor_directory (file, 0, NULL, NULL);
     g_signal_connect (monitor, "changed",
                       G_CALLBACK (ephy_base_embed_file_monitor_cb),
                       embed);
@@ -1405,7 +1405,7 @@
     LOG ("Installed monitor for directory '%s'", address);
   }
   else if (file_type == G_FILE_TYPE_REGULAR) {
-    monitor = g_file_monitor_file (file, 0, NULL);
+    monitor = g_file_monitor_file (file, 0, NULL, NULL);
     g_signal_connect (monitor, "changed",
                       G_CALLBACK (ephy_base_embed_file_monitor_cb),
                       embed);

Modified: trunk/embed/mozilla/mozilla-embed-single.cpp
==============================================================================
--- trunk/embed/mozilla/mozilla-embed-single.cpp	(original)
+++ trunk/embed/mozilla/mozilla-embed-single.cpp	Mon Jan 14 20:26:23 2008
@@ -516,7 +516,8 @@
 		g_assert (priv->user_css_file_monitor == NULL);
 		priv->user_css_file_monitor =
 			g_file_monitor_file (file,
-					     G_FILE_MONITOR_NONE, NULL);
+					     G_FILE_MONITOR_NONE,
+					     NULL, NULL);
 		g_file_monitor_set_rate_limit (priv->user_css_file_monitor,
 					       USER_CSS_LOAD_DELAY);
 		g_signal_connect (priv->user_css_file_monitor, "changed",

Modified: trunk/embed/xulrunner/embed/mozilla-embed-single.cpp
==============================================================================
--- trunk/embed/xulrunner/embed/mozilla-embed-single.cpp	(original)
+++ trunk/embed/xulrunner/embed/mozilla-embed-single.cpp	Mon Jan 14 20:26:23 2008
@@ -511,7 +511,8 @@
 		g_assert (priv->user_css_file_monitor == NULL);
 		priv->user_css_file_monitor =
 			g_file_monitor_file (file,
-					     G_FILE_MONITOR_NONE, NULL);
+					     G_FILE_MONITOR_NONE,
+					     NULL, NULL);
 		g_file_monitor_set_rate_limit (priv->user_css_file_monitor,
 					       USER_CSS_LOAD_DELAY);
 		g_signal_connect (priv->user_css_file_monitor, "changed",

Modified: trunk/src/ephy-extensions-manager.c
==============================================================================
--- trunk/src/ephy-extensions-manager.c	(original)
+++ trunk/src/ephy-extensions-manager.c	Mon Jan 14 20:26:23 2008
@@ -1059,7 +1059,7 @@
 	closedir (d);
 
 	directory = g_file_new_for_path (path);
-	monitor = g_file_monitor_directory (directory, 0, NULL);
+	monitor = g_file_monitor_directory (directory, 0, NULL, NULL);
 
 	if (monitor != NULL)
 	{



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