[glade] Fixed bug #679721 "mac-integration: missing 'widget' variable declaration"
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Fixed bug #679721 "mac-integration: missing 'widget' variable declaration"
- Date: Wed, 11 Jul 2012 03:56:39 +0000 (UTC)
commit d5e868b4fbca906e09ba7a6b39f4cec2f9654c9e
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Wed Jul 11 00:55:52 2012 -0300
Fixed bug #679721 "mac-integration: missing 'widget' variable declaration"
src/glade-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/glade-window.c b/src/glade-window.c
index afc6404..de2648c 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -3116,9 +3116,9 @@ glade_window_constructed (GObject *object)
{
/* Fix up the menubar for MacOSX Quartz builds */
GtkWidget *menubar = GET_OBJECT (builder, GTK_WIDGET, "menubar");
-
- GtkWidget *sep;
GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICATION, NULL);
+ GtkWidget *sep, *widget;
+
gtk_widget_hide (menubar);
gtk_osxapplication_set_menu_bar(theApp, GTK_MENU_SHELL(menubar));
widget = GET_OBJECT (builder, GTK_WIDGET, "quit_menuitem");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]