diff options
-rw-r--r-- | src/empathy-call-window.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 9da6b9ced..f7efe37a2 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -2935,8 +2935,7 @@ display_error (EmpathyCallWindow *self, gchar *txt; /* Create info bar */ - info_bar = gtk_info_bar_new_with_buttons (GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, - NULL); + info_bar = gtk_info_bar_new (); if (button_text != NULL) { @@ -2946,6 +2945,9 @@ display_error (EmpathyCallWindow *self, "uri", g_strdup (uri), g_free); } + gtk_info_bar_add_button (GTK_INFO_BAR (info_bar), + GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE); + gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar), GTK_MESSAGE_WARNING); content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar)); |