Fix a crash in case of invalid crypto engine (gpgme_op_verify failed).
[claws.git] / src / addressbook.c
index ede2e4fe3ff8708abd668d730c1439d602e682b4..240cbb21f5e4b2aa0f37702a25fa1130d8479367 100644 (file)
@@ -393,11 +393,6 @@ static GtkTargetEntry addressbook_drag_types[] =
 
 static GtkTargetList *addressbook_target_list = NULL;
 
-static void about_show_cb(GtkAction *action, gpointer data)
-{
-       about_show();
-}
-
 static GtkActionEntry addressbook_entries[] =
 {
        {"Menu",                                NULL, "Menu", NULL, NULL, NULL },
@@ -5798,7 +5793,6 @@ static gboolean addressbook_drag_motion_cb(GtkWidget      *widget,
                                AdapterDSource *ads = NULL;
                                AddressDataSource *ds = NULL;
                                ads = ADAPTER_DSOURCE(obj);
-                               if (ads == NULL ){ return FALSE;}
                                ds = ads->dataSource;
                                if (ds == NULL ) { return FALSE;}