Author: rpmcruz Date: Tue Oct 7 01:20:43 2008 New Revision: 51890 URL: http://svn.opensuse.org/viewcvs/yast?rev=51890&view=rev Log: Ups, some of those methods don't cope with a null char*. Modified: trunk/gtk/src/ygtkwizard.c Modified: trunk/gtk/src/ygtkwizard.c URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/ygtkwizard.c?rev=51890&r1=51889&r2=51890&view=diff ============================================================================== --- trunk/gtk/src/ygtkwizard.c (original) +++ trunk/gtk/src/ygtkwizard.c Tue Oct 7 01:20:43 2008 @@ -710,8 +710,9 @@ return TRUE; } -void ygtk_wizard_set_button_label (YGtkWizard *wizard, GtkWidget *button, const char *label) +void ygtk_wizard_set_button_label (YGtkWizard *wizard, GtkWidget *button, const char *_label) { + const char *label = _label ? _label : ""; gtk_button_set_label (GTK_BUTTON (button), label); ENABLE_WIDGET_STR (label, button); const char *stock = 0; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org