[Xfce4-commits] [apps/xfce4-dict] 26/43: Replace macros by functions

noreply at xfce.org noreply at xfce.org
Tue Nov 1 00:31:39 CET 2016


This is an automated email from the git hooks/post-receive script.

andre pushed a commit to branch master
in repository apps/xfce4-dict.

commit 02d7c23734478aac86ad695b83971b92ec35df2a
Author: Andre Miranda <andre42m at gmail.com>
Date:   Sun Aug 21 16:39:11 2016 -0300

    Replace macros by functions
---
 lib/prefs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/prefs.c b/lib/prefs.c
index 0a40614..4354900 100644
--- a/lib/prefs.c
+++ b/lib/prefs.c
@@ -275,7 +275,7 @@ GtkWidget *dict_prefs_dialog_show(GtkWidget *parent, DictData *dd)
 		g_signal_connect(dialog, "response", G_CALLBACK(dict_prefs_dialog_response), dd);
 
 	notebook = gtk_notebook_new();
-	GTK_WIDGET_UNSET_FLAGS(notebook, GTK_CAN_FOCUS);
+	gtk_widget_set_can_focus (notebook, FALSE);
 	gtk_widget_show(notebook);
 	g_object_set_data(G_OBJECT(dialog), "notebook", notebook);
 	gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), notebook, FALSE, TRUE, 0);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list