mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix compilation warning: set a default case in switchs
This commit is contained in:
parent
8cde95bc5f
commit
06f66c185a
@ -4303,6 +4303,10 @@ toolbar_content_get_goal_allocation (ToolbarContent *content,
|
||||
*/
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -4326,6 +4330,10 @@ toolbar_content_get_allocation (ToolbarContent *content,
|
||||
else
|
||||
*allocation = child->widget->allocation;
|
||||
break;
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user