[gimp] app: Remove _for_style in gimp_dockable_new_tab_widget_for_style()
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Remove _for_style in gimp_dockable_new_tab_widget_for_style()
- Date: Sun, 18 Apr 2010 15:58:32 +0000 (UTC)
commit 39349e06587ececbf4b9138769e85a2baaab84eb
Author: Martin Nordholts <martinn src gnome org>
Date: Sun Apr 18 18:01:14 2010 +0200
app: Remove _for_style in gimp_dockable_new_tab_widget_for_style()
It became reduntant when 'get' was changed to 'new'.
app/widgets/gimpdockable.c | 8 ++++----
app/widgets/gimpdockable.h | 3 +--
app/widgets/gimpdockbook.c | 16 ++++++++--------
3 files changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/app/widgets/gimpdockable.c b/app/widgets/gimpdockable.c
index 2ad8f09..b5dc78c 100644
--- a/app/widgets/gimpdockable.c
+++ b/app/widgets/gimpdockable.c
@@ -1100,10 +1100,10 @@ gimp_dockable_set_tab_style (GimpDockable *dockable,
}
GtkWidget *
-gimp_dockable_new_tab_widget_for_style (GimpDockable *dockable,
- GimpContext *context,
- GimpTabStyle tab_style,
- GtkIconSize size)
+gimp_dockable_new_tab_widget (GimpDockable *dockable,
+ GimpContext *context,
+ GimpTabStyle tab_style,
+ GtkIconSize size)
{
g_return_val_if_fail (GIMP_IS_DOCKABLE (dockable), NULL);
g_return_val_if_fail (GIMP_IS_CONTEXT (context), NULL);
diff --git a/app/widgets/gimpdockable.h b/app/widgets/gimpdockable.h
index 1628c8e..48a7086 100644
--- a/app/widgets/gimpdockable.h
+++ b/app/widgets/gimpdockable.h
@@ -88,8 +88,7 @@ gboolean gimp_dockable_is_locked (GimpDockable *dockable);
void gimp_dockable_set_tab_style (GimpDockable *dockable,
GimpTabStyle tab_style);
-GtkWidget * gimp_dockable_new_tab_widget_for_style
- (GimpDockable *dockable,
+GtkWidget * gimp_dockable_new_tab_widget (GimpDockable *dockable,
GimpContext *context,
GimpTabStyle tab_style,
GtkIconSize size);
diff --git a/app/widgets/gimpdockbook.c b/app/widgets/gimpdockbook.c
index acfc362..e896a20 100644
--- a/app/widgets/gimpdockbook.c
+++ b/app/widgets/gimpdockbook.c
@@ -468,10 +468,10 @@ gimp_dockbook_add (GimpDockbook *dockbook,
/* For the notebook right-click menu, always use the icon style */
menu_widget =
- gimp_dockable_new_tab_widget_for_style (dockable,
- gimp_dock_get_context (dockbook->p->dock),
- GIMP_TAB_STYLE_ICON_BLURB,
- MENU_WIDGET_ICON_SIZE);
+ gimp_dockable_new_tab_widget (dockable,
+ gimp_dock_get_context (dockbook->p->dock),
+ GIMP_TAB_STYLE_ICON_BLURB,
+ MENU_WIDGET_ICON_SIZE);
g_return_if_fail (GTK_IS_WIDGET (menu_widget));
@@ -585,10 +585,10 @@ gimp_dockbook_create_tab_widget (GimpDockbook *dockbook,
NULL);
tab_widget =
- gimp_dockable_new_tab_widget_for_style (dockable,
- gimp_dock_get_context (dockbook->p->dock),
- gimp_dockable_get_tab_style (dockable),
- tab_size);
+ gimp_dockable_new_tab_widget (dockable,
+ gimp_dock_get_context (dockbook->p->dock),
+ gimp_dockable_get_tab_style (dockable),
+ tab_size);
if (! GIMP_IS_VIEW (tab_widget))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]