Don't do a g_assert_not_reached () if we don't have any dialog types.
2003-01-29 Glynn Foster <glynn.foster@sun.com> * src/main.c: Don't do a g_assert_not_reached () if we don't have any dialog types.
This commit is contained in:
parent
574404b13e
commit
feef039683
@ -1,3 +1,8 @@
|
|||||||
|
2003-01-29 Glynn Foster <glynn.foster@sun.com>
|
||||||
|
|
||||||
|
* src/main.c: Don't do a g_assert_not_reached () if we don't have
|
||||||
|
any dialog types.
|
||||||
|
|
||||||
2003-01-29 Glynn Foster <glynn.foster@sun.com>
|
2003-01-29 Glynn Foster <glynn.foster@sun.com>
|
||||||
|
|
||||||
* README: Update
|
* README: Update
|
||||||
|
@ -1020,6 +1020,10 @@ main (gint argc, gchar **argv) {
|
|||||||
case MODE_ABOUT:
|
case MODE_ABOUT:
|
||||||
zenity_about (results->data);
|
zenity_about (results->data);
|
||||||
break;
|
break;
|
||||||
|
case MODE_LAST:
|
||||||
|
g_printerr (_("You must specify a dialog type. See 'zenity --help' for details\n"));
|
||||||
|
zenity_free_parsing_options ();
|
||||||
|
exit (-1);
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
zenity_free_parsing_options ();
|
zenity_free_parsing_options ();
|
||||||
|
Reference in New Issue
Block a user