I've got a one-window gnome application as generated by Glade 0.5.7, using
the default gnome application bar.  I'm trying to send a message to it.

Here's the code I put in callbacks.c:


GnomeAppBar *appbar1 = (GnomeAppBar*) gtk_object_get_data (GTK_OBJECT
(app1), "appbar");
gnome_appbar_set_status (appbar1, "Message");

On execution it yields:

Gtk-Warning: invalid cast from (NULL) pointer to 'GtkObject'

Gtk-Critical: file gtkobject.c: line 1079 (gtk_object_get_data) assertion
'object != NULL' failed.

There are no complier errors or warnings.  I've tried several variations on
this, examined other's source, copied freely, and I always get the same
results.  Its got to be something really weird or butt simple.  Any ideas
on what I've missed here?

Thanks in advance, Clay


+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to