empathy r2346 - trunk/tests
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2346 - trunk/tests
- Date: Fri, 30 Jan 2009 17:35:09 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 30 17:35:09 2009
New Revision: 2346
URL: http://svn.gnome.org/viewvc/empathy?rev=2346&view=rev
Log:
Use gtk_main_quit as the destroy callback.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/tests/empetit.c
Modified: trunk/tests/empetit.c
==============================================================================
--- trunk/tests/empetit.c (original)
+++ trunk/tests/empetit.c Fri Jan 30 17:35:09 2009
@@ -11,14 +11,6 @@
static GtkWidget *window = NULL;
static void
-destroy_cb (GtkWidget *widget,
- gpointer data)
-{
- gtk_main_quit ();
-}
-
-
-static void
chat_cb (EmpathyDispatchOperation *dispatch,
const GError *error,
gpointer user_data)
@@ -86,7 +78,7 @@
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (G_OBJECT (window), "destroy",
- G_CALLBACK (destroy_cb), NULL);
+ gtk_main_quit, NULL);
gtk_window_set_title (GTK_WINDOW (window),"Empetit");
gtk_container_set_border_width (GTK_CONTAINER (window), 5);
gtk_container_add (GTK_CONTAINER (window), vbox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]