inital gtk2 patch
[claws.git] / src / addrgather.c
index a808977..fa2396b 100644 (file)
@@ -175,6 +175,7 @@ static gboolean addrgather_dlg_harvest() {
                addrgather_dlg_status_show(
                        _( "Please select the mail headers to search." ) );
                addrharvest_free( harvester );
+               g_free( name );
                return FALSE;
        }
 
@@ -469,7 +470,7 @@ static void addrgather_dlg_create( void ) {
        GtkWidget *hbbox;
        GtkWidget *hsbox;
 
-       window = gtk_window_new( GTK_WINDOW_DIALOG );
+       window = gtk_window_new( GTK_WINDOW_TOPLEVEL );
        gtk_widget_set_usize( window, 380, -1 );
        gtk_container_set_border_width(GTK_CONTAINER(window), 0);
        gtk_window_set_position( GTK_WINDOW(window), GTK_WIN_POS_CENTER );