[tali] menus: clean up code style
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tali] menus: clean up code style
- Date: Thu, 6 Dec 2018 19:00:08 +0000 (UTC)
commit 10e68f6869e9e57be04e45ca4a56c41d25229459
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Thu Dec 6 13:54:33 2018 -0500
menus: clean up code style
src/gyahtzee.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gyahtzee.c b/src/gyahtzee.c
index 124ab65..0485df4 100644
--- a/src/gyahtzee.c
+++ b/src/gyahtzee.c
@@ -768,14 +768,14 @@ GyahtzeeCreateMainWindow (GApplication *app, gpointer user_data)
gtk_widget_show (undo_button);
gtk_header_bar_pack_start (GTK_HEADER_BAR (hbar), undo_button);
- builder = gtk_builder_new_from_resource("/org/gnome/tali/ui/menus.ui");
- appmenu = (GMenuModel *) gtk_builder_get_object(builder, "app-menu");
+ builder = gtk_builder_new_from_resource ("/org/gnome/tali/ui/menus.ui");
+ appmenu = (GMenuModel *) gtk_builder_get_object (builder, "app-menu");
menu_button = gtk_menu_button_new();
- icon = gtk_image_new_from_icon_name("open-menu-symbolic", GTK_ICON_SIZE_BUTTON);
- gtk_button_set_image(GTK_BUTTON(menu_button), icon);
- gtk_menu_button_set_menu_model(GTK_MENU_BUTTON(menu_button), appmenu);
- gtk_widget_show (GTK_WIDGET (menu_button));
+ icon = gtk_image_new_from_icon_name ("open-menu-symbolic", GTK_ICON_SIZE_BUTTON);
+ gtk_button_set_image (GTK_BUTTON (menu_button), icon);
+ gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (menu_button), appmenu);
+ gtk_widget_show (menu_button);
gtk_header_bar_pack_end (GTK_HEADER_BAR (hbar), menu_button);
/*---- Content ----*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]