/pidgin/main: aa4d9369a5d1: Remove old commented stuff.

Elliott Sales de Andrade qulogic at pidgin.im
Tue Jul 24 04:03:47 EDT 2012


Changeset: aa4d9369a5d17930ee2954cff3cbc4a16ee5137e
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-07-18 03:01 -0400
Branch:	 cpw.qulogic.gtk3-required
URL: http://hg.pidgin.im/pidgin/main/rev/aa4d9369a5d1

Description:

Remove old commented stuff.

diffstat:

 pidgin/gtkwhiteboard.c |  21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)

diffs (45 lines):

diff --git a/pidgin/gtkwhiteboard.c b/pidgin/gtkwhiteboard.c
--- a/pidgin/gtkwhiteboard.c
+++ b/pidgin/gtkwhiteboard.c
@@ -789,14 +789,6 @@
 
 		/* Makes an icon from the whiteboard's canvas 'image' */
 		pixbuf = gtkwb->pixbuf;
-/*
-		pixbuf = gdk_pixbuf_get_from_drawable(NULL,
-											  (GdkDrawable*)(gtkwb->pixmap),
-											  gdk_drawable_get_colormap(gtkwb->pixmap),
-											  0, 0,
-											  0, 0,
-											  gtkwb->width, gtkwb->height);
-*/
 
 		if(gdk_pixbuf_save(pixbuf, filename, "jpeg", NULL, "quality", "100", NULL))
 			purple_debug_info("gtkwhiteboard", "File Saved...\n");
@@ -818,15 +810,6 @@
 
 	/* Makes an icon from the whiteboard's canvas 'image' */
 	pixbuf = gtkwb->pixbuf;
-/*
-	pixbuf = gdk_pixbuf_get_from_drawable(NULL,
-										  (GdkDrawable*)(gtkwb->pixmap),
-										  gdk_drawable_get_colormap(gtkwb->pixmap),
-										  0, 0,
-										  0, 0,
-										  gtkwb->width, gtkwb->height);
-*/
-
 	gtk_window_set_icon((GtkWindow*)(gtkwb->window), pixbuf);
 }
 
@@ -874,10 +857,6 @@
 	g_signal_connect(G_OBJECT(gtk_color_selection_dialog_get_color_selection(dialog)),
 	                 "color-changed", G_CALLBACK(change_color_cb), gtkwb);
 
-/*
-	gtk_widget_destroy(dialog->cancel_button);
-	gtk_widget_destroy(dialog->help_button);
-*/
 	g_object_get(G_OBJECT(dialog), "ok-button", &ok_button, NULL);
 
 	g_signal_connect(G_OBJECT(ok_button), "clicked",



More information about the Commits mailing list