After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577970 - fails with single includes disabled
fails with single includes disabled
Status: RESOLVED FIXED
Product: libunique
Classification: Other
Component: core
master
Other Linux
: Normal major
: ---
Assigned To: libunique-maint
libunique-maint
: 585697 591884 (view as bug list)
Depends on:
Blocks: 563413
 
 
Reported: 2009-04-04 23:12 UTC by Christian Persch
Modified: 2009-08-15 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2009-04-04 23:12:23 UTC
In file included from /opt/gnome-trunk/include/unique-1.0/unique/uniqueapp.h:27,
                 from ../../../src/totem-private.h:34,
                 from ../../../src/totem-interface.c:50:
/opt/gnome-trunk/include/gtk-2.0/gtk/gtkwindow.h:28:2: error: #error "Only <gtk/gtk.h> can be included directly."

libunique from git master as per http://live.gnome.org/LibUnique . The fix is trivial of course, so I won't attach a patch.
Comment 1 Emmanuele Bassi (:ebassi) 2009-04-05 08:58:03 UTC
thanks, fixed in master:

commit af0d50031feeb2a730615620d984b28ea7ab2114
Author: Emmanuele Bassi <ebassi@gnome.org>
Date:   Sun Apr 5 09:49:20 2009 +0100

    Do not include gtkwindow.h
    
    Single header file inclusion in GTK+ is deprecated.
Comment 2 André Klapper 2009-08-15 13:01:05 UTC
*** Bug 591884 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2009-08-15 13:01:13 UTC
*** Bug 585697 has been marked as a duplicate of this bug. ***