[gtk+] Fix gtk_tool_item_get_text_size_group return value
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix gtk_tool_item_get_text_size_group return value
- Date: Mon, 14 Dec 2009 01:57:01 +0000 (UTC)
commit a9cd99c15f81d6fbb34e84432fc879b21bf86bc6
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 13 20:32:46 2009 -0500
Fix gtk_tool_item_get_text_size_group return value
Reported by Kazuki Iwamoto in bug 604462.
gtk/gtktoolitem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 73b930f..5ad31cc 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -924,7 +924,7 @@ gtk_tool_item_get_text_size_group (GtkToolItem *tool_item)
{
GtkWidget *parent;
- g_return_val_if_fail (GTK_IS_TOOL_ITEM (tool_item), GTK_ORIENTATION_HORIZONTAL);
+ g_return_val_if_fail (GTK_IS_TOOL_ITEM (tool_item), NULL);
parent = GTK_WIDGET (tool_item)->parent;
if (!parent || !GTK_IS_TOOL_SHELL (parent))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]