ezkur / yad

Automatically exported from code.google.com/p/yad
GNU General Public License v3.0
0 stars 0 forks source link

yad-icon-browser crashes on unknown command line option #137

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. yad-icon-browser -foo

What is the expected output? What do you see instead?
Expected: warns or exits because of unknown command line option.
See:

> yad-icon-browser -foo

(yad-icon-browser:20031): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: 
assertion `GDK_IS_SCREEN (screen)' failed

(yad-icon-browser:20031): GLib-GObject-WARNING **: invalid (NULL) pointer 
instance

(yad-icon-browser:20031): GLib-GObject-CRITICAL **: g_signal_connect_data: 
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(yad-icon-browser:20031): Gtk-CRITICAL **: gtk_settings_get_for_screen: 
assertion `GDK_IS_SCREEN (screen)' failed

(yad-icon-browser:20031): Gtk-CRITICAL **: gtk_settings_get_for_screen: 
assertion `GDK_IS_SCREEN (screen)' failed

(yad-icon-browser:20031): GLib-GObject-CRITICAL **: g_object_get: assertion 
`G_IS_OBJECT (object)' failed

What version of the product are you using? On what operating system?
0.17.1.1
Linux 2.6.16.60, SLES10,
yet with Glib 2.24.2, GTK+ 2.20.1

Please provide any additional information below.
I was trying "--geometry". :-)

Original issue reported on code.google.com by mbst...@googlemail.com on 2 Aug 2012 at 12:16

GoogleCodeExporter commented 8 years ago

Original comment by ananasik on 7 Aug 2012 at 2:10