# HG changeset patch # User Evan Schoenberg # Date 1154031057 0 # Node ID fccb5cfa33b9278ec016378865dc15132e74535b # Parent 66d01a5476033b4cbf281bdb69800b5daae61da8 [gaim-migrate @ 16587] Removed an unneeded return and made the notify functions call the close callback immediately if there is no appropriate ui_op. committer: Tailor Script diff -r 66d01a547603 -r fccb5cfa33b9 src/notify.c --- a/src/notify.c Thu Jul 27 20:02:57 2006 +0000 +++ b/src/notify.c Thu Jul 27 20:10:57 2006 +0000 @@ -70,7 +70,11 @@ g_free(info); return NULL; - } + } + + } else { + if (cb != NULL) + cb(user_data); } return NULL; @@ -108,8 +112,9 @@ return NULL; } - - return info->ui_handle; + } else { + if (cb != NULL) + cb(user_data); } return NULL; @@ -160,6 +165,10 @@ return NULL; } + + } else { + if (cb != NULL) + cb(user_data); } return NULL; @@ -199,6 +208,10 @@ return NULL; } + + } else { + if (cb != NULL) + cb(user_data); } return NULL; @@ -239,7 +252,9 @@ return NULL; } - return info->ui_handle; + } else { + if (cb != NULL) + cb(user_data); } return NULL; @@ -444,6 +459,10 @@ return NULL; } + + } else { + if (cb != NULL) + cb(user_data); } return NULL;