[vinagre] Drop screenshot action for ssh plugin
- From: Jonh Wendell <jwendell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre] Drop screenshot action for ssh plugin
- Date: Fri, 8 Oct 2010 19:49:17 +0000 (UTC)
commit c6c21d2d635fc47c5bda92c4e5abd3209eb014a5
Author: Jonh Wendell <jwendell gnome org>
Date: Fri Oct 8 16:53:57 2010 -0300
Drop screenshot action for ssh plugin
plugins/ssh/vinagre-ssh-tab.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/plugins/ssh/vinagre-ssh-tab.c b/plugins/ssh/vinagre-ssh-tab.c
index bf7ec81..d9426f0 100644
--- a/plugins/ssh/vinagre-ssh-tab.c
+++ b/plugins/ssh/vinagre-ssh-tab.c
@@ -50,22 +50,6 @@ ssh_tab_get_tooltip (VinagreTab *tab)
_("Port:"), vinagre_connection_get_port (conn));
}
-static GdkPixbuf *
-ssh_tab_get_screenshot (VinagreTab *tab)
-{
- GdkPixbuf *pixbuf;
- GdkPixmap *pixmap = gtk_widget_get_snapshot (VINAGRE_SSH_TAB (tab)->priv->vte, NULL);
-
- pixbuf = gdk_pixbuf_get_from_drawable (NULL,
- GDK_DRAWABLE (pixmap),
- gdk_colormap_get_system (),
- 0, 0, 0, 0,
- -1, -1);
-
- g_object_unref (pixmap);
- return pixbuf;
-}
-
static gboolean
emit_delayed_signal (GObject *object)
{
@@ -134,7 +118,6 @@ vinagre_ssh_tab_class_init (VinagreSshTabClass *klass)
object_class->constructed = vinagre_ssh_tab_constructed;
tab_class->impl_get_tooltip = ssh_tab_get_tooltip;
- tab_class->impl_get_screenshot = ssh_tab_get_screenshot;
g_type_class_add_private (object_class, sizeof (VinagreSshTabPrivate));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]