[gtk+/treeview-refactor] Added boolean return to GtkCellLayout buildable custom tag end shared private function.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] Added boolean return to GtkCellLayout buildable custom tag end shared private function.
- Date: Sat, 4 Dec 2010 07:52:06 +0000 (UTC)
commit 52ba4f49c52a3157b595ea5da8c2a8f228094e28
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sat Dec 4 16:53:28 2010 +0900
Added boolean return to GtkCellLayout buildable custom tag end shared private function.
gtk/gtkcelllayout.c | 7 ++++---
gtk/gtkcelllayout.h | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcelllayout.c b/gtk/gtkcelllayout.c
index e0d8652..b2182d2 100644
--- a/gtk/gtkcelllayout.c
+++ b/gtk/gtkcelllayout.c
@@ -745,7 +745,7 @@ _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable,
return FALSE;
}
-void
+gboolean
_gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
@@ -759,13 +759,14 @@ _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
attr_data = (AttributesSubParserData*)data;
g_assert (!attr_data->attr_name);
g_slice_free (AttributesSubParserData, attr_data);
- return;
+ return TRUE;
}
else if (strcmp (tagname, "cell-packing") == 0)
{
g_slice_free (CellPackingSubParserData, (gpointer)data);
- return;
+ return TRUE;
}
+ return FALSE;
}
void
diff --git a/gtk/gtkcelllayout.h b/gtk/gtkcelllayout.h
index 26957e6..6ab3844 100644
--- a/gtk/gtkcelllayout.h
+++ b/gtk/gtkcelllayout.h
@@ -123,7 +123,7 @@ gboolean _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable,
const gchar *tagname,
GMarkupParser *parser,
gpointer *data);
-void _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
+gboolean _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]