diff --git a/src/dialogs/save/save.c b/src/dialogs/save/save.c index fb40558..be16b41 100644 --- a/src/dialogs/save/save.c +++ b/src/dialogs/save/save.c @@ -179,7 +179,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ } - static void fileformat_changed(GtkComboBox *formats, GtkEntry *entry) + static void fileformat_changed(GtkComboBox *fmts, GtkEntry *entry) { const gchar * text = gtk_entry_get_text(entry); @@ -191,7 +191,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ return; extension++; - const gchar * format = gtk_combo_box_get_active_id(formats); + const gchar * format = gtk_combo_box_get_active_id(fmts); if(*format == '.') format++; diff --git a/src/include/terminal.h b/src/include/terminal.h index 2f28573..e347c6c 100644 --- a/src/include/terminal.h +++ b/src/include/terminal.h @@ -115,15 +115,15 @@ GtkWidget parent; // flags - int selecting : 1; ///< @brief Selecting region - int moving : 1; ///< @brief Moving selected region - int resizing : 1; ///< @brief Resizing selected region - int scaled_fonts : 1; ///< @brief Use scaled fonts - int drawing : 1; ///< @brief Draw widget? - int freeze : 1; ///< @brief Truee when the "save settings" signal is disabled. - int append : 1; ///< @brief Next smart-copy operation will be append. - int copying : 1; ///< @brief Copy with center mouse button - int open_url : 1; ///< @brief Emit 'open-url' signal when and http:// or https:// url is selected by 'word-select' action. + unsigned int selecting : 1; ///< @brief Selecting region + unsigned int moving : 1; ///< @brief Moving selected region + unsigned int resizing : 1; ///< @brief Resizing selected region + unsigned int scaled_fonts : 1; ///< @brief Use scaled fonts + unsigned int drawing : 1; ///< @brief Draw widget? + unsigned int freeze : 1; ///< @brief True when the "save settings" signal is disabled. + unsigned int append : 1; ///< @brief Next smart-copy operation will be append. + unsigned int copying : 1; ///< @brief Copy with center mouse button + unsigned int open_url : 1; ///< @brief Emit 'open-url' signal when and http:// or https:// url is selected by 'word-select' action. /// @brief Action properties. // GtkResponseType responses[V3270_TOGGLEABLE_DIALOG_CUSTOM]; @@ -203,7 +203,7 @@ // Blink struct { - int show : 1; ///< @brief Show element? + unsigned int show : 1; ///< @brief Show element? GSource * timer; ///< @brief Timer source. } blink; diff --git a/src/selection/text.c b/src/selection/text.c index 97555b0..e8c0b98 100644 --- a/src/selection/text.c +++ b/src/selection/text.c @@ -124,7 +124,7 @@ gchar * v3270_convert_to_3270_charset(GtkWidget *widget, const gchar *text, cons g_autofree gchar *string = g_strdup(text); - // FIXME (perry#1#): Is there any better way for a "sed" here? + // Is there any better way for a "sed" here? for(f=0;f