[epiphany] More code style fixes
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] More code style fixes
- Date: Wed, 28 Nov 2018 03:45:43 +0000 (UTC)
commit 04763b18c73daf52f7553c4efd37c32335288f07
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue Nov 27 21:45:13 2018 -0600
More code style fixes
src/ephy-window.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 365e12933..e536ddd13 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -208,10 +208,8 @@ impl_set_active_child (EphyEmbedContainer *container,
window = EPHY_WINDOW (container);
- page = gtk_notebook_page_num
- (window->notebook, GTK_WIDGET (child));
- gtk_notebook_set_current_page
- (window->notebook, page);
+ page = gtk_notebook_page_num (window->notebook, GTK_WIDGET (child));
+ gtk_notebook_set_current_page (window->notebook, page);
}
static GtkWidget *
@@ -228,8 +226,7 @@ construct_confirm_close_dialog (EphyWindow *window,
GTK_BUTTONS_CANCEL,
"%s", title);
- gtk_message_dialog_format_secondary_text
- (GTK_MESSAGE_DIALOG (dialog), "%s", info);
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", info);
gtk_dialog_add_button (GTK_DIALOG (dialog),
action, GTK_RESPONSE_ACCEPT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]