From 6c667b04e50850715e917cabcc005b6ec7947486 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 2 Sep 2009 13:29:01 -0500 Subject: Adding some place holders for the image handling functions. --- libdbusmenu-gtk/menuitem.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 libdbusmenu-gtk/menuitem.h (limited to 'libdbusmenu-gtk/menuitem.h') diff --git a/libdbusmenu-gtk/menuitem.h b/libdbusmenu-gtk/menuitem.h new file mode 100644 index 0000000..ff458de --- /dev/null +++ b/libdbusmenu-gtk/menuitem.h @@ -0,0 +1,39 @@ +/* +A library to take the object model made consistent by libdbusmenu-glib +and visualize it in GTK. + +Copyright 2009 Canonical Ltd. + +Authors: + Ted Gould + +This program is free software: you can redistribute it and/or modify it +under the terms of either or both of the following licenses: + +1) the GNU Lesser General Public License version 3, as published by the +Free Software Foundation; and/or +2) the GNU Lesser General Public License version 2.1, as published by +the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranties of +MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR +PURPOSE. See the applicable version of the GNU Lesser General Public +License for more details. + +You should have received a copy of both the GNU Lesser General Public +License version 3 and version 2.1 along with this program. If not, see + +*/ + +#ifndef __DBUSMENU_GTKMENUITEM_H__ +#define __DBUSMENU_GTKMENUITEM_H__ 1 + +#include +#include +#include + +gboolean dbusmenu_menuitem_property_set_image (DbusmenuMenuitem * menuitem, const gchar * property, const GdkPixbuf * data); +GdkPixbuf * dbusmenu_menuitem_property_get_image (DbusmenuMenuitem * menuitem, const gchar * property); + +#endif -- cgit v1.2.3