add new file
[mim] / src / mim / gconf-change-cb.c
diff --git a/src/mim/gconf-change-cb.c b/src/mim/gconf-change-cb.c
new file mode 100644 (file)
index 0000000..fbb3553
--- /dev/null
@@ -0,0 +1,15 @@
+#include "gconf-change-cb.h"
+/* This is called when our gconf key is changed. */
+void
+gconf_notify_func (GConfClient *client,
+                   guint        cnxn_id,
+                   GConfEntry  *entry,
+                   gpointer     user_data)
+{
+       GConfValue *value;
+       gboolean    checked;
+       value = gconf_entry_get_value (entry);
+       checked = gconf_value_get_bool (value);
+}