[Commits] [SCM] claws branch, master, updated. 3.16.0-42-g64bef95
mones at claws-mail.org
mones at claws-mail.org
Wed Feb 7 00:46:22 CET 2018
The branch, master has been updated
via 64bef95613c1ec6365222b4b68b64886420aa51f (commit)
from 6eda56cb3d16819d19a312fafa7cbbbce526a619 (commit)
Summary of changes:
src/editjpilot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 64bef95613c1ec6365222b4b68b64886420aa51f
Author: Ricardo Mones <ricardo at mones.org>
Date: Wed Feb 7 00:45:42 2018 +0100
Fix ‘GtkLabel {aka struct _GtkLabel}’ has no member named ‘label’
diff --git a/src/editjpilot.c b/src/editjpilot.c
index 9f1132e..631ef74 100644
--- 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 );
}
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list