GNOME Bugzilla – Bug 347182
e-combo-button.c-CRITICAL **: e_combo_button_set_label: assertion `label != NULL' failed
Last modified: 2013-09-13 00:48:32 UTC
Please describe the problem: e-combo-button.c-CRITICAL **: e_combo_button_set_label: assertion `label != NULL' failed Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 68762 [details] [review] proposed patch
e_combo_button_set_label (E_COMBO_BUTTON (priv->new_button), NULL); The above line is the problem, but I think new_button_change() and setup_toolbar_button have the same proccess, so the proccess should be written as a new function.
e_combo_button_set_label can accepts NULL, but call g_return_if_fail at begining of the function. This should be also fixed. --- widgets/misc/e-combo-button.c 19 Jun 2006 10:00:18 -0000 1.24 +++ widgets/misc/e-combo-button.c 11 Jul 2006 03:58:35 -0000 @@ -567,7 +567,6 @@ e_combo_button_set_label (EComboButton * g_return_if_fail (combo_button != NULL); g_return_if_fail (E_IS_COMBO_BUTTON (combo_button)); - g_return_if_fail (label != NULL); priv = combo_button->priv;
Cc'ing Srini. Almost feels like we are sitting on the floor at GUADEC again... ;)
Hiroyuki: Your patch looks fine to commit. COmmit the removal of g_return_if_fail also with Changelog.
Created attachment 68791 [details] [review] revised patch Including ChangeLog for removal g_return_if_fail.
Can I commit this patch?
looks OK to commit.
Committed now. Thanks!
Setting patch status according to comment 9.
*** Bug 348298 has been marked as a duplicate of this bug. ***