/soc/2015/igor.gajowiak/chatlog: b5575a0697d9: Implemented close...

Igor Gajowiak igor.gajowiak at gmail.com
Sat Aug 1 04:25:33 EDT 2015


Changeset: b5575a0697d9f84e386f6e3de39800142d3ad8bc
Author:	 Igor Gajowiak <igor.gajowiak at gmail.com>
Date:	 2015-08-01 10:25 +0200
Branch:	 default
URL: https://hg.pidgin.im/soc/2015/igor.gajowiak/chatlog/rev/b5575a0697d9

Description:

Implemented close button.

diffstat:

 pidgin/gtkgenericlog.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff --git a/pidgin/gtkgenericlog.c b/pidgin/gtkgenericlog.c
--- a/pidgin/gtkgenericlog.c
+++ b/pidgin/gtkgenericlog.c
@@ -58,7 +58,10 @@ on_import_item_clicked(GtkAction *action
 static void
 on_close_item_clicked(GtkAction *action, gpointer data)
 {
-	printf("on_close_item_clicked\n");
+	g_assert(data);
+
+	PidginGenericLogViewer *viewer = (PidginGenericLogViewer*) data;
+	gtk_widget_hide(viewer->window);
 }
 
 static void



More information about the Commits mailing list