Mon, 09 Jan 2006 07:07:52 +0000
[gaim-migrate @ 15129]
If someone presses enter in the status box gtkimhtml but has not changed
the text, then do nothing. This gets rid of a
GLib: g_source_remove: assertion `tag > 0' failed
| src/gtkstatusbox.c | file | annotate | diff | comparison | revisions |
--- a/src/gtkstatusbox.c Mon Jan 09 07:04:40 2006 +0000 +++ b/src/gtkstatusbox.c Mon Jan 09 07:07:52 2006 +0000 @@ -1150,6 +1150,10 @@ static void remove_typing_cb(GtkGaimStatusBox *status_box) { + if (status_box->typing == 0) + /* Nothing has changed, so we don't need to do anything */ + return; + activate_currently_selected_status(status_box); g_source_remove(status_box->typing);