[glade] Added glade_widget_adaptor_get_book()
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Added glade_widget_adaptor_get_book()
- Date: Tue, 12 Mar 2013 22:31:02 +0000 (UTC)
commit 5ab20b45ecf86fb649c2c2938120a34dd9ca985c
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Sun Mar 10 17:00:47 2013 -0300
Added glade_widget_adaptor_get_book()
gladeui/glade-widget-adaptor.c | 8 ++++++++
gladeui/glade-widget-adaptor.h | 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gladeui/glade-widget-adaptor.c b/gladeui/glade-widget-adaptor.c
index 4078dfb..363a444 100644
--- a/gladeui/glade-widget-adaptor.c
+++ b/gladeui/glade-widget-adaptor.c
@@ -1757,6 +1757,14 @@ glade_widget_adaptor_get_missing_icon (GladeWidgetAdaptor *adaptor)
return adaptor->priv->missing_icon;
}
+G_CONST_RETURN gchar *
+glade_widget_adaptor_get_book (GladeWidgetAdaptor *adaptor)
+{
+ g_return_val_if_fail (GLADE_IS_WIDGET_ADAPTOR (adaptor), NULL);
+
+ return adaptor->priv->book;
+}
+
G_CONST_RETURN GList *
glade_widget_adaptor_get_properties (GladeWidgetAdaptor *adaptor)
{
diff --git a/gladeui/glade-widget-adaptor.h b/gladeui/glade-widget-adaptor.h
index ab33a53..6b7e357 100644
--- a/gladeui/glade-widget-adaptor.h
+++ b/gladeui/glade-widget-adaptor.h
@@ -683,6 +683,7 @@ G_CONST_RETURN gchar *glade_widget_adaptor_get_generic_name (GladeWidgetAdaptor
G_CONST_RETURN gchar *glade_widget_adaptor_get_title (GladeWidgetAdaptor *adaptor);
G_CONST_RETURN gchar *glade_widget_adaptor_get_icon_name (GladeWidgetAdaptor *adaptor);
G_CONST_RETURN gchar *glade_widget_adaptor_get_missing_icon (GladeWidgetAdaptor *adaptor);
+G_CONST_RETURN gchar *glade_widget_adaptor_get_book (GladeWidgetAdaptor *adaptor);
G_CONST_RETURN GList *glade_widget_adaptor_get_properties (GladeWidgetAdaptor *adaptor);
G_CONST_RETURN GList *glade_widget_adaptor_get_packing_props(GladeWidgetAdaptor *adaptor);
G_CONST_RETURN GList *glade_widget_adaptor_get_signals (GladeWidgetAdaptor *adaptor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]