[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-886-g0975fd9b9
paul at claws-mail.org
paul at claws-mail.org
Fri Dec 6 13:02:05 CET 2019
The branch, gtk3 has been updated
via 0975fd9b977c1e8a18b0f3432307d616899ad573 (commit)
from c785ef3363c5e6debf3b39e03bdda47b2c5287a2 (commit)
Summary of changes:
src/gtk/gtkutils.c | 2 +-
src/gtk/quicksearch.c | 2 +-
src/prefs_account.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 0975fd9b977c1e8a18b0f3432307d616899ad573
Author: paul <paul at claws-mail.org>
Date: Fri Dec 6 12:02:01 2019 +0000
replace deprecated gtk_combo_box_set_focus_on_click()
diff --git a/src/gtk/gtkutils.c b/src/gtk/gtkutils.c
index 014db3c21..84661ab39 100644
--- a/src/gtk/gtkutils.c
+++ b/src/gtk/gtkutils.c
@@ -1333,7 +1333,7 @@ GtkWidget *gtkut_sc_combobox_create(GtkWidget *eventbox, gboolean focus_on_click
if( eventbox != NULL )
gtk_container_add(GTK_CONTAINER(eventbox), combobox);
- gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(combobox), focus_on_click);
+ gtk_widget_set_focus_on_click(GTK_WIDGET(combobox), focus_on_click);
gtk_combo_box_set_row_separator_func(GTK_COMBO_BOX(combobox),
(GtkTreeViewRowSeparatorFunc)_combobox_separator_func, NULL, NULL);
diff --git a/src/gtk/quicksearch.c b/src/gtk/quicksearch.c
index c088dc47b..6c51e3268 100644
--- a/src/gtk/quicksearch.c
+++ b/src/gtk/quicksearch.c
@@ -824,7 +824,7 @@ QuickSearch *quicksearch_new()
G_TYPE_INT);
search_type_combo = gtk_combo_box_new_with_model(GTK_TREE_MODEL(menu));
- gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(search_type_combo), FALSE);
+ gtk_widget_set_focus_on_click(GTK_WIDGET(search_type_combo), FALSE);
gtk_combo_box_set_row_separator_func(GTK_COMBO_BOX(search_type_combo),
(GtkTreeViewRowSeparatorFunc)search_type_combo_separator_func,
NULL, NULL);
diff --git a/src/prefs_account.c b/src/prefs_account.c
index 14ec468e0..c86f6a533 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -2418,7 +2418,7 @@ static void privacy_create_widget_func(PrefsPage * _page,
"text", COMBOBOX_TEXT,
"sensitive", COMBOBOX_SENS,
NULL);
- gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(default_privacy_system), FALSE);
+ gtk_widget_set_focus_on_click(GTK_WIDGET(default_privacy_system), FALSE);
gtk_widget_show (default_privacy_system);
gtk_box_pack_start (GTK_BOX(hbox1), default_privacy_system, FALSE, TRUE, 0);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list