aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-notifiers.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-17 04:02:35 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-17 04:02:35 +0800
commit91088b896a39629ee4c938c3e124ad260257213a (patch)
tree97ae6c9486e1d558e214738cb97317c09a9df09c /embed/mozilla/mozilla-notifiers.h
parent73a6332c7811065e2d5af1fb100ebe30439f0e00 (diff)
downloadgsoc2013-epiphany-91088b896a39629ee4c938c3e124ad260257213a.tar
gsoc2013-epiphany-91088b896a39629ee4c938c3e124ad260257213a.tar.gz
gsoc2013-epiphany-91088b896a39629ee4c938c3e124ad260257213a.tar.bz2
gsoc2013-epiphany-91088b896a39629ee4c938c3e124ad260257213a.tar.lz
gsoc2013-epiphany-91088b896a39629ee4c938c3e124ad260257213a.tar.xz
gsoc2013-epiphany-91088b896a39629ee4c938c3e124ad260257213a.tar.zst
gsoc2013-epiphany-91088b896a39629ee4c938c3e124ad260257213a.zip
Check the encodings before we set the mozilla pref. From bug #150266.
2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: Check the encodings before we set the mozilla pref. From bug #150266.
Diffstat (limited to 'embed/mozilla/mozilla-notifiers.h')
-rw-r--r--embed/mozilla/mozilla-notifiers.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/embed/mozilla/mozilla-notifiers.h b/embed/mozilla/mozilla-notifiers.h
index 5e942f564..72d5d1cf4 100644
--- a/embed/mozilla/mozilla-notifiers.h
+++ b/embed/mozilla/mozilla-notifiers.h
@@ -28,19 +28,20 @@
G_BEGIN_DECLS
-typedef gboolean (* PrefValueTransformFunc) (GConfValue *, GValue *);
+typedef gboolean (* PrefValueTransformFunc) (GConfValue *, GValue *, gpointer);
-gboolean mozilla_notifier_transform_bool (GConfValue *, GValue *);
+gboolean mozilla_notifier_transform_bool (GConfValue *, GValue *, gpointer);
-gboolean mozilla_notifier_transform_bool_invert (GConfValue *, GValue *);
+gboolean mozilla_notifier_transform_bool_invert (GConfValue *, GValue *, gpointer);
-gboolean mozilla_notifier_transform_int (GConfValue *, GValue *);
+gboolean mozilla_notifier_transform_int (GConfValue *, GValue *, gpointer);
-gboolean mozilla_notifier_transform_string (GConfValue *, GValue *);
+gboolean mozilla_notifier_transform_string (GConfValue *, GValue *, gpointer);
guint mozilla_notifier_add (const char *gconf_key,
const char *mozilla_pref,
- PrefValueTransformFunc func);
+ PrefValueTransformFunc func,
+ gpointer user_data);
void mozilla_notifier_remove (guint id);