Commit a9cd99c1 authored by Matthias Clasen's avatar Matthias Clasen

Fix gtk_tool_item_get_text_size_group return value

Reported by Kazuki Iwamoto in bug 604462.
parent 3d74197f
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment