* src/inc.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 22 Jul 2003 23:55:17 +0000 (23:55 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 22 Jul 2003 23:55:17 +0000 (23:55 +0000)
give progress dialog a main window, and give it the first
one (presumably the only one). fixes bug #247, "segfault on
pop-before-smtp"

ChangeLog.claws
configure.ac
src/inc.c

index 50c3b1eeb08eb7f00c195c58cef57358b10ccb86..0410f4d499bb37ee4be4fab1ffb4f50f70d88483 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-23 [alfons]    0.9.3claws40
+
+       * src/inc.c
+               give progress dialog a main window, and give it the first 
+               one (presumably the only one). fixes bug #247, "segfault on 
+               pop-before-smtp" 
+
 2003-07-22 [alfons]    0.9.3claws39
 
        * src/summaryview.c
 2003-07-22 [alfons]    0.9.3claws39
 
        * src/summaryview.c
index 52c77a168a72efb008dd28545edbedcfd75efbf0..a158226f2672c19794decd48c9ea74c032de79e2 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=39
+EXTRA_VERSION=40
 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
 
 dnl set $target
 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
 
 dnl set $target
index b7b37eae9dfc1a1a744b1629514edd306b878927..8ad34d99e78506a7d96b50d120c32fc64ef8a264 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -213,7 +213,8 @@ void inc_mail(MainWindow *mainwin, gboolean notify)
 
 void inc_pop_before_smtp(PrefsAccount *acc)
 {
 
 void inc_pop_before_smtp(PrefsAccount *acc)
 {
-       inc_account_mail(acc, NULL);
+       /* FIXME: assumes to attach to first main window */
+       inc_account_mail(acc, mainwindow_get_mainwindow());
 }
 
 static gint inc_account_mail(PrefsAccount *account, MainWindow *mainwin)
 }
 
 static gint inc_account_mail(PrefsAccount *account, MainWindow *mainwin)