Build fix in hildon2
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 25 Nov 2009 16:35:06 +0000 (17:35 +0100)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 25 Nov 2009 16:35:06 +0000 (17:35 +0100)
src/widgets/Makefile.am
src/widgets/modest-account-view.c
src/widgets/modest-connection-specific-smtp-edit-window.c

index 0cc2131..5960485 100644 (file)
@@ -10,6 +10,7 @@ INCLUDES=\
        $(MODEST_HILDON_HELP_CFLAGS)    \
        $(MODEST_MOZEMBED_CFLAGS) \
        $(MODEST_WPEDITOR_CFLAGS)           \
+       $(MODEST_LIBCONIC_CFLAGS)           \
        $(MODEST_HILDON_NOTIFY_CFLAGS) \
        -I ${top_srcdir}/src/$(MODEST_TOOLKIT_DIR) \
        -I ${top_srcdir}/src \
@@ -170,4 +171,5 @@ LDADD = \
        $(MODEST_MOZEMBED_LIBS)                         \
        $(MODEST_WPEDITOR_LIBS) \
        $(MODEST_PLATFORM_LIBS)                         \
+       $(MODEST_LIBCONIC_LIBS) \
        $(MODEST_TOOLKIT_LIBS) 
index 34483fe..08f875f 100644 (file)
@@ -739,30 +739,6 @@ typedef struct
                const gchar *account_name;
 } ForEachData;
 
-static gboolean
-on_model_foreach_select_account(GtkTreeModel *model, 
-       GtkTreePath *path, GtkTreeIter *iter, gpointer user_data)
-{
-       ForEachData *state = (ForEachData*)(user_data);
-       
-       /* Select the item if it has the matching account name: */
-       gchar *this_account_name = NULL;
-       gtk_tree_model_get (model, iter, 
-               MODEST_ACCOUNT_VIEW_NAME_COLUMN, &this_account_name, 
-               -1); 
-       if(this_account_name && state->account_name 
-               && (strcmp (this_account_name, state->account_name) == 0)) {
-               
-               GtkTreeSelection *selection = 
-                       gtk_tree_view_get_selection (GTK_TREE_VIEW (state->self));
-               gtk_tree_selection_select_iter (selection, iter);
-               
-               return TRUE; /* Stop walking the tree. */
-       }
-       
-       return FALSE; /* Keep walking the tree. */
-}
-
 static void 
 modest_account_view_select_account (ModestAccountView *account_view, 
                                    const gchar* account_name)
index 4c57484..0d32636 100644 (file)
@@ -44,6 +44,7 @@
 
 #ifdef MODEST_TOOLKIT_HILDON2
 #include <hildon/hildon.h>
+#include <modest-number-editor.h>
 #endif
 
 #include <glib/gi18n.h>