Re: gtk_button_set_label ERROR

2006-04-06 Thread David Necas (Yeti)
On Wed, Apr 05, 2006 at 10:25:22PM -0700, 3saul wrote: Whenever I call gtk_button_set_label I get the following error and the function does not succeed. GTK-CRITICAL **: gtk_button_set_label: assertion 'GTK_IS_BUTTON (button) failed. Is there a common reason for this error? When you

Re: gtk_button_set_label ERROR

2006-04-06 Thread Alvis Koon
-CRITICAL **: gtk_button_set_label: assertion 'GTK_IS_BUTTON (button) failed. Is there a common reason for this error? I get no errors or warnings when compiling. -- View this message in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3778435 Sent from the Gtk+ - Apps Dev

Re: gtk_button_set_label ERROR

2006-04-06 Thread 3saul
in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3781907 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_button_set_label ERROR

2006-04-06 Thread 3saul
://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3782014 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_button_set_label ERROR

2006-04-06 Thread David Necas (Yeti)
On Thu, Apr 06, 2006 at 03:55:33AM -0700, 3saul wrote: GtkWidget *button1 = 0; NULL can be hardly used as a GtkButton. Yeti -- That's enough. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: gtk_button_set_label ERROR

2006-04-06 Thread Carlo Agrusti
3saul ha scritto lo scorso 06/04/2006 12:45: [...] gboolean Func_Get_Time_Date() { memset( x, '\0', 150 * sizeof *x ); I'm pretty sure there are better ways to treat a gchar array ;-) char *p; GtkWidget *button1 = 0; Here you are defining a (NULL) GtkWidget*

Re: gtk_button_set_label ERROR

2006-04-06 Thread 3saul
If I change that to GtkWidget *button1 = x; or GtkWidget *button1; I still get the same error. -- View this message in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3782179 Sent from the Gtk+ - Apps Dev forum at Nabble.com

RE: gtk_button_set_label ERROR

2006-04-06 Thread Sailaxmi korada
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 3saul Sent: Thursday, April 06, 2006 4:38 PM To: gtk-app-devel-list@gnome.org Subject: Re: gtk_button_set_label ERROR If I change that to GtkWidget *button1 = x; or GtkWidget *button1; I still get the same error. -- View this message

Re: gtk_button_set_label ERROR

2006-04-06 Thread 3saul
you're right it isn't complete...there is an if statement there.. if I put GtkWidget *button1 = x; or GtkWidget *button1; I still get the same result...fail. -- View this message in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3782228 Sent from the Gtk+ - Apps Dev

RE: gtk_button_set_label ERROR

2006-04-06 Thread 3saul
..thank you so much...making GtkWidget *button1; a global fixed all of my problems... THANKS EVERYBODY! -- View this message in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3782360 Sent from the Gtk+ - Apps Dev forum at Nabble.com

RE: gtk_button_set_label ERROR

2006-04-06 Thread Sailaxmi korada
: gtk_button_set_label ERROR ..thank you so much...making GtkWidget *button1; a global fixed all of my problems... THANKS EVERYBODY! -- View this message in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3782360 Sent from the Gtk+ - Apps Dev forum at Nabble.com

Re: gtk_button_set_label ERROR

2006-04-06 Thread Carlo Agrusti
3saul ha scritto lo scorso 06/04/2006 13:07: [...] I still get the same error. This thread has become a mad race of crazy messages; please, consider the following: 1. Quote properly when answering to a message 2. Subscribe to gtk-app-devel-list and use your preferred mail client, instead

RE: gtk_button_set_label ERROR

2006-04-06 Thread 3saul
..3000 buttons! hmmm...that's a lot! -- View this message in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3782640 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list

gtk_button_set_label ERROR

2006-04-05 Thread 3saul
in context: http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3778435 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel