Check for more errors
This commit is contained in:
parent
1eb2258358
commit
3c13036d96
|
@ -233,8 +233,11 @@ static GtkWidget * _menu_applications(Menu * menu)
|
||||||
for(p = menu->apps; p != NULL; p = p->next)
|
for(p = menu->apps; p != NULL; p = p->next)
|
||||||
{
|
{
|
||||||
handler = p->data;
|
handler = p->data;
|
||||||
/* should not fail */
|
if((name = mimehandler_get_name(handler, 1)) == NULL)
|
||||||
name = mimehandler_get_name(handler, 1);
|
{
|
||||||
|
menu->helper->error(NULL, error_get(NULL), 0);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
#if GTK_CHECK_VERSION(2, 12, 0)
|
#if GTK_CHECK_VERSION(2, 12, 0)
|
||||||
comment = mimehandler_get_comment(handler, 1);
|
comment = mimehandler_get_comment(handler, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user