* Signal handlers are executed in the main lock, so no need to lock it again
authorSergio Villar Senin <svillar@igalia.com>
Thu, 28 Jun 2007 06:41:06 +0000 (06:41 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 28 Jun 2007 06:41:06 +0000 (06:41 +0000)
pmo-trunk-r2468

src/modest-ui-actions.c

index 383e38e..2e88e8f 100644 (file)
@@ -1447,8 +1447,6 @@ modest_ui_actions_on_item_not_found (ModestHeaderView *header_view,ModestItemTyp
 
        item = (type == MODEST_ITEM_TYPE_FOLDER) ? "folder" : "message";
        
-       if (g_main_depth > 0)   
-               gdk_threads_enter ();
        online = tny_device_is_online (modest_runtime_get_device());
 
        if (online) {
@@ -1482,8 +1480,6 @@ modest_ui_actions_on_item_not_found (ModestHeaderView *header_view,ModestItemTyp
                }
        }
        gtk_widget_destroy (dialog);
-       if (g_main_depth > 0)   
-               gdk_threads_leave ();
 }
 
 void