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
-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
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
://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
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
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*
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
: [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
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
..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
: 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
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
..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
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
14 matches
Mail list logo