[gtk+] inspector: Replace a use of gtk_button_set_focus_on_click
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Replace a use of gtk_button_set_focus_on_click
- Date: Tue, 3 Nov 2015 12:45:01 +0000 (UTC)
commit c711906f8c26123b1f97b00538652b119eaef9c1
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 3 07:42:05 2015 -0500
inspector: Replace a use of gtk_button_set_focus_on_click
It is deprecated now.
gtk/inspector/strv-editor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/inspector/strv-editor.c b/gtk/inspector/strv-editor.c
index c35ffac..5cbe13e 100644
--- a/gtk/inspector/strv-editor.c
+++ b/gtk/inspector/strv-editor.c
@@ -96,7 +96,7 @@ gtk_inspector_strv_editor_init (GtkInspectorStrvEditor *editor)
gtk_widget_show (editor->box);
editor->button = gtk_button_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_MENU);
- gtk_button_set_focus_on_click (GTK_BUTTON (editor->button), FALSE);
+ gtk_widget_set_focus_on_click (editor->button, FALSE);
gtk_widget_set_halign (editor->button, GTK_ALIGN_END);
gtk_widget_show (editor->button);
g_signal_connect (editor->button, "clicked", G_CALLBACK (add_cb), editor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]