[gimp/soc-2010-cage] app: Remove unnecessary gimp_dockbook_refresh_tab_layout_lut() calls
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage] app: Remove unnecessary gimp_dockbook_refresh_tab_layout_lut() calls
- Date: Wed, 30 Jun 2010 22:10:13 +0000 (UTC)
commit 164b215368085b20d984854b6072f4e2b128244b
Author: Martin Nordholts <martinn src gnome org>
Date: Tue Jun 15 08:13:19 2010 +0200
app: Remove unnecessary gimp_dockbook_refresh_tab_layout_lut() calls
We don't need to call gimp_dockbook_refresh_tab_layout_lut() in
added() and removed() because we call
gimp_dockbook_update_auto_tab_style() in add() and remove().
app/widgets/gimpdockbook.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpdockbook.c b/app/widgets/gimpdockbook.c
index 83194f3..dada344 100644
--- a/app/widgets/gimpdockbook.c
+++ b/app/widgets/gimpdockbook.c
@@ -624,8 +624,6 @@ static void
gimp_dockbook_dockable_added (GimpDockbook *dockbook,
GimpDockable *dockable)
{
- gimp_dockbook_refresh_tab_layout_lut (dockbook);
-
gtk_notebook_set_current_page (GTK_NOTEBOOK (dockbook),
gtk_notebook_page_num (GTK_NOTEBOOK (dockbook),
GTK_WIDGET (dockable)));
@@ -635,7 +633,6 @@ static void
gimp_dockbook_dockable_removed (GimpDockbook *dockbook,
GimpDockable *dockable)
{
- gimp_dockbook_refresh_tab_layout_lut (dockbook);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]