Merge lp:~ted/libdbusmenu/single-includes into lp:libdbusmenu/0.5

Proposed by Ted Gould
Status: Merged
Merged at revision: 191
Proposed branch: lp:~ted/libdbusmenu/single-includes
Merge into: lp:libdbusmenu/0.5
Diff against target: 119 lines (+80/-1)
4 files modified
libdbusmenu-glib/Makefile.am (+2/-1)
libdbusmenu-glib/dbusmenu-glib.h (+37/-0)
libdbusmenu-gtk/Makefile.am (+1/-0)
libdbusmenu-gtk/dbusmenu-gtk.h (+40/-0)
To merge this branch: bzr merge lp:~ted/libdbusmenu/single-includes
Reviewer Review Type Date Requested Status
Mikkel Kamstrup Erlandsen (community) Approve
Cody Russell (community) Approve
Review via email: mp+47057@code.launchpad.net

Description of the change

Adding a single header to include because people have asked for it. And well, I'm nothing if not a pleaser of the people. Not requiring it yet, but I guess we should eventually.

To post a comment you must log in.
Revision history for this message
Cody Russell (bratsche) :
review: Approve
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

 review approve

Looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libdbusmenu-glib/Makefile.am'
2--- libdbusmenu-glib/Makefile.am 2011-01-20 03:50:25 +0000
3+++ libdbusmenu-glib/Makefile.am 2011-01-21 16:44:53 +0000
4@@ -15,6 +15,7 @@
5 libdbusmenu_glibincludedir=$(includedir)/libdbusmenu-0.4/libdbusmenu-glib/
6
7 libdbusmenu_glibinclude_HEADERS = \
8+ dbusmenu-glib.h \
9 menuitem.h \
10 menuitem-proxy.h \
11 server.h \
12@@ -140,7 +141,7 @@
13 Dbusmenu_Glib-0.4.gir: libdbusmenu-glib.la
14 Dbusmenu_Glib_0_4_gir_INCLUDES = \
15 GObject-2.0
16-Dbusmenu_Glib_0_4_gir_CFLAGS = $(DBUSMENUGLIB_CFLAGS)
17+Dbusmenu_Glib_0_4_gir_CFLAGS = $(DBUSMENUGLIB_CFLAGS) -I$(top_srcdir)
18 Dbusmenu_Glib_0_4_gir_LIBS = libdbusmenu-glib.la
19 Dbusmenu_Glib_0_4_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))
20 Dbusmenu_Glib_0_4_gir_NAMESPACE = Dbusmenu
21
22=== added file 'libdbusmenu-glib/dbusmenu-glib.h'
23--- libdbusmenu-glib/dbusmenu-glib.h 1970-01-01 00:00:00 +0000
24+++ libdbusmenu-glib/dbusmenu-glib.h 2011-01-21 16:44:53 +0000
25@@ -0,0 +1,37 @@
26+/*
27+A library to communicate a menu object set accross DBus and
28+track updates and maintain consistency.
29+
30+Copyright 2011 Canonical Ltd.
31+
32+Authors:
33+ Ted Gould <ted@canonical.com>
34+
35+This program is free software: you can redistribute it and/or modify it
36+under the terms of either or both of the following licenses:
37+
38+1) the GNU Lesser General Public License version 3, as published by the
39+Free Software Foundation; and/or
40+2) the GNU Lesser General Public License version 2.1, as published by
41+the Free Software Foundation.
42+
43+This program is distributed in the hope that it will be useful, but
44+WITHOUT ANY WARRANTY; without even the implied warranties of
45+MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
46+PURPOSE. See the applicable version of the GNU Lesser General Public
47+License for more details.
48+
49+You should have received a copy of both the GNU Lesser General Public
50+License version 3 and version 2.1 along with this program. If not, see
51+<http://www.gnu.org/licenses/>
52+*/
53+
54+#ifndef __DBUSMENU_GLIB_H__
55+#define __DBUSMENU_GLIB_H__
56+
57+#include <libdbusmenu-glib/client.h>
58+#include <libdbusmenu-glib/menuitem.h>
59+#include <libdbusmenu-glib/menuitem-proxy.h>
60+#include <libdbusmenu-glib/server.h>
61+
62+#endif /* __DBUSMENU_GLIB_H__ */
63
64=== modified file 'libdbusmenu-gtk/Makefile.am'
65--- libdbusmenu-gtk/Makefile.am 2011-01-20 03:50:25 +0000
66+++ libdbusmenu-gtk/Makefile.am 2011-01-21 16:44:53 +0000
67@@ -20,6 +20,7 @@
68 libdbusmenu_gtkincludedir=$(includedir)/libdbusmenu-0.4/libdbusmenu-gtk$(VER)/
69
70 libdbusmenu_gtkinclude_HEADERS = \
71+ dbusmenu-gtk.h \
72 client.h \
73 menu.h \
74 menuitem.h
75
76=== added file 'libdbusmenu-gtk/dbusmenu-gtk.h'
77--- libdbusmenu-gtk/dbusmenu-gtk.h 1970-01-01 00:00:00 +0000
78+++ libdbusmenu-gtk/dbusmenu-gtk.h 2011-01-21 16:44:53 +0000
79@@ -0,0 +1,40 @@
80+/*
81+A library to communicate a menu object set accross DBus and
82+track updates and maintain consistency.
83+
84+Copyright 2011 Canonical Ltd.
85+
86+Authors:
87+ Ted Gould <ted@canonical.com>
88+
89+This program is free software: you can redistribute it and/or modify it
90+under the terms of either or both of the following licenses:
91+
92+1) the GNU Lesser General Public License version 3, as published by the
93+Free Software Foundation; and/or
94+2) the GNU Lesser General Public License version 2.1, as published by
95+the Free Software Foundation.
96+
97+This program is distributed in the hope that it will be useful, but
98+WITHOUT ANY WARRANTY; without even the implied warranties of
99+MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
100+PURPOSE. See the applicable version of the GNU Lesser General Public
101+License for more details.
102+
103+You should have received a copy of both the GNU Lesser General Public
104+License version 3 and version 2.1 along with this program. If not, see
105+<http://www.gnu.org/licenses/>
106+*/
107+
108+#ifndef __DBUSMENU_GTK_H__
109+#define __DBUSMENU_GTK_H__
110+
111+/* Start with the glib stuff */
112+#include <libdbusmenu-glib/dbusmenu-glib.h>
113+
114+/* Now get the GTK stuff */
115+#include <libdbusmenu-gtk/client.h>
116+#include <libdbusmenu-gtk/menu.h>
117+#include <libdbusmenu-gtk/menuitem.h>
118+
119+#endif /* __DBUSMENU_GLIB_H__ */

Subscribers

People subscribed via source and target branches