Also don't set a new selection on focus in in header view
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 10 Dec 2008 17:01:47 +0000 (17:01 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 10 Dec 2008 17:01:47 +0000 (17:01 +0000)
pmo-drop-split-view-r6747

src/widgets/modest-header-view.c

index dd39afe..74c27d0 100644 (file)
@@ -1739,6 +1739,7 @@ on_focus_in (GtkWidget     *self,
             GdkEventFocus *event,
             gpointer       user_data)
 {
+#ifndef MODEST_TOOLKIT_HILDON2
        GtkTreeSelection *selection;
        GtkTreeModel *model;
        GList *selected = NULL;
@@ -1771,6 +1772,7 @@ on_focus_in (GtkWidget     *self,
        /* Frees */     
        g_list_foreach (selected, (GFunc) gtk_tree_path_free, NULL);
        g_list_free (selected);
+#endif
 
        return FALSE;
 }