! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Support Glade > 3.7 (gladeui-2.0/GTK3)
Status:
RESOLVED: WONTFIX
Severity:
enhancement
Product:
Libxfcegui4
Component:
General

Comments

Description Christoph Wickert editbugs 2011-02-23 00:07:02 CET
Created attachment 3501 
build.log of libxfcegui4 4.8.1 with glade 3.9.2

Recently glade 3.9.x was released. I patched configure to look for gladeui-2.0 (instead of gladeui-1.0) and build fails with 

glade-xfce4.c: In function 'glade_xfce_titled_dialog_post_create':
glade-xfce4.c:69:56: error: 'GtkDialog' has no member named 'vbox'
glade-xfce4.c:74:62: error: 'GtkDialog' has no member named 'action_area'
glade-xfce4.c: In function 'glade_xfce_titled_dialog_get_internal_child':
glade-xfce4.c:108:23: error: 'GtkDialog' has no member named 'vbox'
glade-xfce4.c:110:23: error: 'GtkDialog' has no member named 'action_area'
glade-xfce4.c: In function 'glade_xfce_titled_dialog_get_children':
glade-xfce4.c:120:39: error: 'GtkDialog' has no member named 'vbox'
glade-xfce4.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
Comment 1 Nick Schermer editbugs 2011-02-23 08:45:32 CET
These are all because of GSEAL in Gtk. Is this default in Fedora or Gtk 2.24?
Comment 2 Mike Massonnet editbugs 2012-07-31 23:14:41 CEST
Hi,

For what I can tell, building with gladeui-2.0 requires gtk+-3.0, and as of today there is no support for GTK3 in any Xfce library.

Also, the latest version of Glade can only create Glade/UI files for GTK3, it doesn't let you save GTK2 projects anymore. I hope I'm not wrong here, because I didn't find any option in the latest Glade that lets you choose the version.

So basically working with Glade is currently broken, at least for all the distros/systems that provide a recent version of it. It is of course possible to build Glade 3.7 manually from the source.
ftp://ftp.gnome.org/pub/gnome/devtools/2.91/2.91.2/sources/

If support is added in libxfce4ui for gladeui-2.0, it will mean the library can be used with GTK3 applications and of course Glade for GTK3 projects.

Conclusion is that building with Glade > 3.7 is not possible. I updated the bug summary and severity accordingly.

Cheers,
Mike
Comment 3 Nick Schermer editbugs 2014-12-03 09:18:59 CET
Close bug reports of archived products.

Bug #7333

Reported by:
Christoph Wickert
Reported on: 2011-02-23
Last modified on: 2014-12-03

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
unspecified

Attachments

build.log of libxfcegui4 4.8.1 with glade 3.9.2 (71.36 KB, text/plain)
2011-02-23 00:07 CET , Christoph Wickert
no flags

Additional information