use the PACK_CHECK_BUTTON macro in prefs_gtk.h
authorPaul <paul@claws-mail.org>
Thu, 27 Aug 2015 07:42:26 +0000 (08:42 +0100)
committerPaul <paul@claws-mail.org>
Thu, 27 Aug 2015 07:42:26 +0000 (08:42 +0100)
src/addrgather.c

index 99ed70b..cc728ff 100644 (file)
@@ -44,6 +44,7 @@
 #include "folder.h"
 #include "utils.h"
 #include "prefs_common.h"
+#include "prefs_gtk.h"
 
 #include "addrharvest.h"
 #ifndef USE_NEW_ADDRBOOK
@@ -299,13 +300,6 @@ static void addrgather_dlg_cancel( GtkWidget *widget, gpointer data ) {
        gtk_main_quit();
 }
 
-#define PACK_CHECK_BUTTON(box, checkbtn, label) \
-{ \
-       checkbtn = gtk_check_button_new_with_label(label); \
-       gtk_widget_show(checkbtn); \
-       gtk_box_pack_start(GTK_BOX(box), checkbtn, FALSE, TRUE, 0); \
-}
-
 /*
  * Create notebook page for mail headers.
  * Enter: pageNum Page number.