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

Igor Gajowiak <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: b5575a0697d9f84e386f6e3de39800142d3ad8bc
Author:	 Igor Gajowiak <[email protected]>
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

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.