# HG changeset patch # User Sean Egan # Date 1039039229 0 # Node ID 0fccde7ed9b84c7c245b236d748f3805a6616948 # Parent 4a3f863b041fa129074c5b0f7af7c018459c4c5e [gaim-migrate @ 4255] Thanks, Etan. committer: Tailor Script diff -r 4a3f863b041f -r 0fccde7ed9b8 plugins/notify.c --- a/plugins/notify.c Wed Dec 04 07:24:57 2002 +0000 +++ b/plugins/notify.c Wed Dec 04 22:00:29 2002 +0000 @@ -52,7 +52,8 @@ /* predefine some functions, less warnings */ void options(GtkWidget *widget, gpointer data); void un_star(GtkWidget *widget, gpointer data); -void un_star_window(GtkWidget *widget, gpointer data); +/* this returns an int so that typing events don't get stopped here */ +int un_star_window(GtkWidget *widget, gpointer data); int counter (char *buf, int *length); /*string functions */ void string_add(GtkWidget *widget); @@ -209,10 +210,11 @@ return; } -void un_star_window(GtkWidget *widget, gpointer data) { +int un_star_window(GtkWidget *widget, gpointer data) { GtkWidget *parent = gtk_widget_get_ancestor(widget, GTK_TYPE_WINDOW); un_star(parent, data); - return; + /* return 0 so that the event continues to propagate */ + return 0; } /* This function returns the number in [ ]'s or 0 */