[gnome-builder/editor-layout] navigation: rename emit_activate() to activate()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/editor-layout] navigation: rename emit_activate() to activate()
- Date: Tue, 2 Dec 2014 02:06:10 +0000 (UTC)
commit 014f99ddc18919b450f87847c2be199379e193df
Author: Christian Hergert <christian hergert me>
Date: Mon Dec 1 17:31:02 2014 -0800
navigation: rename emit_activate() to activate()
src/navigation/gb-navigation-item.c | 2 +-
src/navigation/gb-navigation-item.h | 2 +-
src/workbench/gb-workbench.c | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/navigation/gb-navigation-item.c b/src/navigation/gb-navigation-item.c
index b4a092d..dc1148e 100644
--- a/src/navigation/gb-navigation-item.c
+++ b/src/navigation/gb-navigation-item.c
@@ -106,7 +106,7 @@ gb_navigation_item_set_workspace (GbNavigationItem *item,
void
-gb_navigation_item_emit_activate (GbNavigationItem *item)
+gb_navigation_item_activate (GbNavigationItem *item)
{
g_return_if_fail (GB_IS_NAVIGATION_ITEM (item));
diff --git a/src/navigation/gb-navigation-item.h b/src/navigation/gb-navigation-item.h
index 335e6ff..091bb19 100644
--- a/src/navigation/gb-navigation-item.h
+++ b/src/navigation/gb-navigation-item.h
@@ -54,7 +54,7 @@ struct _GbNavigationItemClass
GType gb_navigation_item_get_type (void) G_GNUC_CONST;
GbNavigationItem *gb_navigation_item_new (const gchar *label);
-void gb_navigation_item_emit_activate (GbNavigationItem *item);
+void gb_navigation_item_activate (GbNavigationItem *item);
const gchar *gb_navigation_item_get_label (GbNavigationItem *item);
void gb_navigation_item_set_label (GbNavigationItem *item,
const gchar *label);
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index acc6d3d..864b62e 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -281,8 +281,7 @@ gb_workbench_navigation_changed (GbWorkbench *workbench,
workspace = gb_navigation_item_get_workspace (item);
if (workspace)
gtk_stack_set_visible_child (priv->stack, GTK_WIDGET (workspace));
-
- gb_navigation_item_emit_activate (item);
+ gb_navigation_item_activate (item);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]