diff options
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r-- | src/empathy-chat-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index ca3375306..278c8f044 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -268,8 +268,8 @@ chat_window_create_label (EmpathyChatWindow *window, /* We don't want focus/keynav for the button to avoid clutter, and * Ctrl-W works anyway. */ - GTK_WIDGET_UNSET_FLAGS (close_button, GTK_CAN_FOCUS); - GTK_WIDGET_UNSET_FLAGS (close_button, GTK_CAN_DEFAULT); + gtk_widget_set_can_focus (close_button, FALSE); + gtk_widget_set_can_default (close_button, FALSE); /* Set the name to make the special rc style match. */ gtk_widget_set_name (close_button, "empathy-close-button"); |