Re: [gtk-osx-users] Building Glade on MaxOS 10.9.
- From: John Ralls <jralls ceridwen us>
- To: Pascal <p p14 orange fr>, Philip Chimento <philip chimento gmail com>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] Building Glade on MaxOS 10.9.
- Date: Mon, 6 Jul 2015 14:14:42 -0700
On Jul 6, 2015, at 1:32 PM, Pascal <p p14 orange fr> wrote:
Hello John, you're right.
I got many errors, extract:
glade-window.c:3277:25: error: implicit declaration of function 'GET_OBJECT' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
GtkWidget *menubar = GET_OBJECT (builder, GTK_WIDGET, "menubar");
^
glade-window.c:3277:37: error: use of undeclared identifier 'builder'
GtkWidget *menubar = GET_OBJECT (builder, GTK_WIDGET, "menubar");
^
glade-window.c:3278:4: error: use of undeclared identifier 'GtkOSXApplication'
GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICAT...
^
glade-window.c:3278:23: error: use of undeclared identifier 'theApp'
GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICAT...
^
glade-window.c:3278:45: error: use of undeclared identifier
'GTK_TYPE_OSX_APPLICATION'
GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICAT...
^
glade-window.c:3282:4: error: implicit declaration of function
'gtk_osxapplication_set_menu_bar' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
gtk_osxapplication_set_menu_bar(theApp, GTK_MENU_SHELL(menubar));
^
Was it better with previous glade version?
No, if you look at the 3.16 patch you’ll see that there were a lot of pretty basic fixes needed to get it to
compile. I dunno offhand where GET_OBJECT is defined, but GtkOSXApplication changed to GtkosxApplication
years ago because g-ir-scanner needed it. The 3.16 patch just ripped it out instead of fixing it.
If you put together a new patch I’ll replace the old one.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]