diff options
author | Jason Conti <jason.conti@gmail.com> | 2011-08-19 13:32:25 -0400 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2011-08-19 13:32:25 -0400 |
commit | 59896497977040f03aaa0b2c293c265ed2e0c4e7 (patch) | |
tree | 4008e7001eb4835bdebc008162031df761a7434f /src/notifications-service.c | |
parent | c5ac5ce87d42d4456da3c82da1aed0ddece36129 (diff) | |
download | ayatana-indicator-notifications-59896497977040f03aaa0b2c293c265ed2e0c4e7.tar.gz ayatana-indicator-notifications-59896497977040f03aaa0b2c293c265ed2e0c4e7.tar.bz2 ayatana-indicator-notifications-59896497977040f03aaa0b2c293c265ed2e0c4e7.zip |
* Add a WITH_GTK (2, 3) definition to handle some of the minor differences0.1.3
between gtk2 and 3
* Replace gtk_hbox_new with gtk_box_new in the gtk3 version
* GtkLabel has a new (and much nicer) wrapping mechanism
- use gtk_label_set_max_width_chars in gtk3 version
Diffstat (limited to 'src/notifications-service.c')
-rw-r--r-- | src/notifications-service.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/notifications-service.c b/src/notifications-service.c index a5a4ef2..d3c7da2 100644 --- a/src/notifications-service.c +++ b/src/notifications-service.c @@ -26,7 +26,12 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include <glib/gi18n.h> #include <gio/gio.h> +#if WITH_GTK == 3 +#include <libdbusmenu-gtk3/menuitem.h> +#else #include <libdbusmenu-gtk/menuitem.h> +#endif + #include <libdbusmenu-glib/server.h> #include <libdbusmenu-glib/client.h> #include <libdbusmenu-glib/menuitem.h> |