Linuxc 从入门到精通 例题19.1(ubuntu14.04运行)(拜托有个回复好吗?)
发表在C语言图书答疑
2015-10-13
是否精华
是
否
版块置顶:
是
否
2问题,为什么出现?怎么解决呢?
以su - root方式登陆的超级用户,运行glade:
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
GladeUI-Message: 1 missing displayable value for GtkCellRendererAccel::accel-mode
GladeUI-Message: Glade needs artwork; a default icon will be used for the following classes:
GtkApplicationWindow needs an icon named 'widget-gtk-applicationwindow'
其次在glade完成:
GtkWindow
GtkFixed
GtkLabel
GtkButton
运行 (PS: 19.1.c为源代码,不会错的)
(19.1:2663): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(19.1:2663): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(19.1:2663): Gtk-CRITICAL **: IA__gtk_widget_show_all: assertion 'GTK_IS_WIDGET (widget)' failed
以su - root方式登陆的超级用户,运行glade:
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
GladeUI-Message: 1 missing displayable value for GtkCellRendererAccel::accel-mode
GladeUI-Message: Glade needs artwork; a default icon will be used for the following classes:
GtkApplicationWindow needs an icon named 'widget-gtk-applicationwindow'
其次在glade完成:
GtkWindow
GtkFixed
GtkLabel
GtkButton
运行 (PS: 19.1.c为源代码,不会错的)
(19.1:2663): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(19.1:2663): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(19.1:2663): Gtk-CRITICAL **: IA__gtk_widget_show_all: assertion 'GTK_IS_WIDGET (widget)' failed