diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-08-03 17:57:39 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-08-03 17:57:39 +0000 |
commit | ce8a83380a1fb4d9cb1489204a6cc906b3af177e (patch) | |
tree | b831974c977a1a83c19060592810c69d22f0a804 /x11-terms/gnome-terminal/files | |
parent | ppc stable, bug #231975 (diff) | |
download | gentoo-2-ce8a83380a1fb4d9cb1489204a6cc906b3af177e.tar.gz gentoo-2-ce8a83380a1fb4d9cb1489204a6cc906b3af177e.tar.bz2 gentoo-2-ce8a83380a1fb4d9cb1489204a6cc906b3af177e.zip |
bump to r1. Fix extra refs to tabs shell, bug #219964. Clean up old revisions.
(Portage version: 2.2_rc3/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
Diffstat (limited to 'x11-terms/gnome-terminal/files')
-rw-r--r-- | x11-terms/gnome-terminal/files/gnome-terminal-2.22.3-tab-close-fix.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-2.22.3-tab-close-fix.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2.22.3-tab-close-fix.patch new file mode 100644 index 000000000000..34f26d9a1751 --- /dev/null +++ b/x11-terms/gnome-terminal/files/gnome-terminal-2.22.3-tab-close-fix.patch @@ -0,0 +1,29 @@ +diff -urNp gnome-terminal-2.22.3-orig/src/terminal-window.c gnome-terminal-2.22.3/src/terminal-window.c +--- gnome-terminal-2.22.3-orig/src/terminal-window.c 2008-08-01 16:23:04.000000000 +0530 ++++ gnome-terminal-2.22.3/src/terminal-window.c 2008-08-01 23:29:19.000000000 +0530 +@@ -1367,14 +1367,9 @@ selection_changed_callback (TerminalScre + } + + static void +-close_button_clicked_cb (GtkWidget *widget, GtkWidget *screen) ++close_button_clicked_cb (GtkWidget *widget, TerminalScreen *screen) + { +- GtkWidget *notebook; +- guint page_num; +- +- notebook = gtk_widget_get_parent (GTK_WIDGET (screen)); +- page_num = gtk_notebook_page_num (GTK_NOTEBOOK (notebook), screen); +- gtk_notebook_remove_page (GTK_NOTEBOOK (notebook), page_num); ++ terminal_screen_close (screen); + } + + static void +@@ -1458,8 +1453,6 @@ terminal_window_add_screen (TerminalWind + if (old == window) + return; + +- g_object_ref (G_OBJECT (screen)); /* make our own new refcount */ +- + if (old) + terminal_window_remove_screen (old, screen); + |