changeset 8320:5c6c8d48946f

[gaim-migrate @ 9044] The delete_event signals were all screwed up, causing the smiley dialog to never actually close. Fixed. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 23 Feb 2004 22:23:11 +0000
parents a2c5537a814b
children eb269b81fff8
files src/gtkimhtmltoolbar.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtmltoolbar.c	Mon Feb 23 22:13:43 2004 +0000
+++ b/src/gtkimhtmltoolbar.c	Mon Feb 23 22:23:11 2004 +0000
@@ -433,7 +433,8 @@
 }
 
 
-void close_smiley_dialog(GtkWidget *widget, GtkIMHtmlToolbar *toolbar)
+void close_smiley_dialog(GtkWidget *widget, GdkEvent *event,
+						 GtkIMHtmlToolbar *toolbar)
 {
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toolbar->smiley), FALSE);
 
@@ -451,7 +452,7 @@
 
 	gtk_imhtml_insert_smiley(GTK_IMHTML(toolbar->imhtml), NULL, smiley_text); //proto->info->name, smiley_text);
 
-	close_smiley_dialog(NULL, toolbar);
+	close_smiley_dialog(NULL, NULL, toolbar);
 }
 
 
@@ -564,7 +565,7 @@
 		toolbar->smiley_dialog = dialog;
 
 	} else if (toolbar->smiley_dialog) {
-		close_smiley_dialog(smiley, toolbar);
+		close_smiley_dialog(smiley, NULL, toolbar);
 	}
 	gtk_widget_grab_focus(toolbar->imhtml);
 }