#include <config.h>
#endif /*HAVE_CONFIG_H*/
+#ifdef MODEST_HAVE_CONIC
+#include <coniciap.h>
+#endif /*MODEST_HAVE_CONIC*/
+
#include <modest-hildon-includes.h>
#include <modest-maemo-utils.h>
#include <tny-maemo-conic-device.h>
-
#define MSG_SIZE_MAX_VAL 5000
#define MSG_SIZE_DEF_VAL 1000
#define MSG_SIZE_MIN_VAL 1
ppriv = MODEST_GLOBAL_SETTINGS_DIALOG_GET_PRIVATE (obj);
if (priv->switch_handler && ppriv->notebook) {
- /* TODO: This causes a g_warning:
- modest[13409]: GLIB WARNING ** GLib-GObject - invalid unclassed pointer in cast to `GObject'
- modest[13409]: GLIB WARNING ** GLib-GObject - instance with invalid (NULL) class pointer
- modest[13409]: GLIB CRITICAL ** GLib-GObject - g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
- */
- g_signal_handler_disconnect (G_OBJECT (ppriv->notebook), priv->switch_handler);
+ /* TODO: This causes a g_warning and a valgrind mem error: */
+ /* g_signal_handler_disconnect (G_OBJECT (ppriv->notebook), priv->switch_handler);*/
priv->switch_handler = 0;
}