[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-918-ga403e7b51

mones at claws-mail.org mones at claws-mail.org
Thu Feb 6 16:27:58 CET 2020


The branch, gtk3 has been updated
       via  a403e7b510709fe6fd325d68e4cc006a948e0441 (commit)
      from  d5578c3cb2a0643d31a950abac9a16bf318fdf82 (commit)

Summary of changes:
 src/editjpilot.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit a403e7b510709fe6fd325d68e4cc006a948e0441
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu Feb 6 16:24:03 2020 +0100

    Remove wrong lines, probably copy-pasted
    
    Fixes errors:
    editjpilot.c:257:35: error: ‘entry_name’ undeclared (first use in this function)
    editjpilot.c:294:3: error: ‘top’ undeclared (first use in this function);

diff --git a/src/editjpilot.c b/src/editjpilot.c
index 8684ffaa8..0580dbba4 100644
--- a/src/editjpilot.c
+++ b/src/editjpilot.c
@@ -254,7 +254,7 @@ static void addressbook_edit_jpilot_create( gboolean *cancelled ) {
 	/* First row */
 	label = gtk_label_new(_("Name"));
 	gtk_label_set_xalign(GTK_LABEL(label), 0.0);
-	gtk_grid_attach(GTK_GRID(table), entry_name, 1, 0, 1, 1);
+	gtk_grid_attach(GTK_GRID(table), label, 0, 0, 1, 1);
 
 	name_entry = gtk_entry_new();
 	gtk_grid_attach(GTK_GRID(table), name_entry, 1, 0, 1, 1);
@@ -291,7 +291,6 @@ static void addressbook_edit_jpilot_create( gboolean *cancelled ) {
 		gtk_box_pack_start( GTK_BOX(hlbox), custom_label[i], TRUE, TRUE, 0 );
 		gtk_box_pack_start( GTK_BOX(vbox_custom), hlbox, TRUE, TRUE, 0 );
 		gtk_label_set_xalign(GTK_LABEL(custom_label[1]), 0.0);
-		top++;
 	}
 	gtk_container_add (GTK_CONTAINER (frame_custom), vbox_custom);
 	gtk_container_set_border_width( GTK_CONTAINER(vbox_custom), 8 );

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list