aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-base-embed.c4
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp3
-rw-r--r--embed/xulrunner/embed/mozilla-embed-single.cpp3
3 files changed, 6 insertions, 4 deletions
diff --git a/embed/ephy-base-embed.c b/embed/ephy-base-embed.c
index 4d57c496c..802f8c15e 100644
--- a/embed/ephy-base-embed.c
+++ b/embed/ephy-base-embed.c
@@ -1397,7 +1397,7 @@ ephy_base_embed_update_file_monitor (EphyBaseEmbed *embed,
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 @@ ephy_base_embed_update_file_monitor (EphyBaseEmbed *embed,
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);
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 05f081fac..79b513c29 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -516,7 +516,8 @@ user_css_enabled_notify (GConfClient *client,
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",
diff --git a/embed/xulrunner/embed/mozilla-embed-single.cpp b/embed/xulrunner/embed/mozilla-embed-single.cpp
index 437d656bf..d5c3974e2 100644
--- a/embed/xulrunner/embed/mozilla-embed-single.cpp
+++ b/embed/xulrunner/embed/mozilla-embed-single.cpp
@@ -511,7 +511,8 @@ user_css_enabled_notify (GConfClient *client,
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",