talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 64bef95613c1ec6365222b4b68b64886420aa51f
parent 6eda56cb3d16819d19a312fafa7cbbbce526a619
Author: Ricardo Mones <ricardo@mones.org>
Date:   Wed,  7 Feb 2018 00:45:42 +0100

Fix ‘GtkLabel {aka struct _GtkLabel}’ has no member named ‘label’

Diffstat:
Msrc/editjpilot.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/editjpilot.c b/src/editjpilot.c @@ -138,11 +138,11 @@ static void edit_jpilot_fill_check_box_new() { static void edit_jpilot_read_check_box( JPilotFile *pilotFile ) { gint i; - gchar *labelName; + const gchar *labelName; jpilot_clear_custom_labels( pilotFile ); for( i = 0; i < JPILOT_NUM_CUSTOM_LABEL; i++ ) { if( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(jpilotedit.custom_check[i]) ) ) { - labelName = GTK_LABEL(jpilotedit.custom_label[i])->label; + labelName = gtk_label_get_label (GTK_LABEL(jpilotedit.custom_label[i])); jpilot_add_custom_label( pilotFile, labelName ); } }