Subject: libnotify-dev: notification.h includes non top-level header
Package: libnotify-dev
Version: 0.4.4-3
Severity: normal

*** Please type your report below this line ***
Hi,

/usr/include/libnotify/notification.h, lines 27-28 are:
#include <gtk/gtk.h>
#include <gtk/gtkversion.h>

GTK+ is moving toward a model where it is only allowed to include the
'toplevel' headers: only <glib.h>, <gdk/gdk.h>,
<gdk-pixbuf/gdk-pixbuf.h> and <gtk/gtk.h> can be directly included.

So please remove the line
#include <gtk/gtkversion.h>
which is by the way already included by gtk.h (but please check it).

This allows programs defining -DGTK_DISABLE_SINGLE_INCLUDES to compile with libnotify.

Cheers,
Eugen

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnotify-dev depends on:
ii libdbus-glib-1-dev 0.76-1 simple interprocess messaging syst ii libglib2.0-dev 2.18.3-1 Development files for the GLib lib ii libgtk2.0-dev 2.14.5-1 Development files for the GTK+ lib ii libnotify1 0.4.4-3 sends desktop notifications to a n

libnotify-dev recommends no packages.

libnotify-dev suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to