Commit 06f66c18 authored by Javier Jardon's avatar Javier Jardon
Browse files

Fix compilation warning: set a default case in switchs

parent 8cde95bc
......@@ -4303,6 +4303,10 @@ toolbar_content_get_goal_allocation (ToolbarContent *content,
*/
g_assert_not_reached ();
break;
default:
g_assert_not_reached ();
break;
}
}
......@@ -4311,7 +4315,7 @@ toolbar_content_get_allocation (ToolbarContent *content,
GtkAllocation *allocation)
{
GtkToolbarChild *child;
switch (content->type)
{
case TOOL_ITEM:
......@@ -4326,6 +4330,10 @@ toolbar_content_get_allocation (ToolbarContent *content,
else
*allocation = child->widget->allocation;
break;
default:
g_assert_not_reached ();
break;
}
}
......
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