# HG changeset patch # User Mark Doliner # Date 1136790472 0 # Node ID 57d94c725dbcac19e54a921dc58d9930c97e2eaa # Parent ab65ade2e93f9ce9509acd98e618404cc591feae [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 committer: Tailor Script diff -r ab65ade2e93f -r 57d94c725dbc src/gtkstatusbox.c --- 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);