summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-24 16:06:42 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-24 16:06:42 +0100
commit5086e9b0734859f3bee5c0b0aa4b302a1e328b86 (patch)
tree03b06a57f35429520976fb9c7a5bc5f7481ce4bc
parent0894474e8cfed8dfa4824205a9d43e76269b50b0 (diff)
rename empathy_individual_view_get_selected_group to empathy_individual_view_dup_selected_group
-rw-r--r--libempathy-gtk/empathy-individual-view.c8
-rw-r--r--libempathy-gtk/empathy-individual-view.h3
2 files changed, 4 insertions, 7 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index a0468256..1d73b373 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -2188,8 +2188,8 @@ empathy_individual_view_dup_selected (EmpathyIndividualView *view)
return individual;
}
-gchar *
-empathy_individual_view_get_selected_group (EmpathyIndividualView *view,
+static gchar *
+empathy_individual_view_dup_selected_group (EmpathyIndividualView *view,
gboolean *is_fake_group)
{
EmpathyIndividualViewPriv *priv;
@@ -2255,7 +2255,7 @@ individual_view_group_remove_activate_cb (GtkMenuItem *menuitem,
{
gchar *group;
- group = empathy_individual_view_get_selected_group (view, NULL);
+ group = empathy_individual_view_dup_selected_group (view, NULL);
if (group != NULL)
{
gchar *text;
@@ -2296,7 +2296,7 @@ empathy_individual_view_get_group_menu (EmpathyIndividualView *view)
EMPATHY_INDIVIDUAL_VIEW_FEATURE_GROUPS_REMOVE)))
return NULL;
- group = empathy_individual_view_get_selected_group (view, &is_fake_group);
+ group = empathy_individual_view_dup_selected_group (view, &is_fake_group);
if (!group || is_fake_group)
{
/* We can't alter fake groups */
diff --git a/libempathy-gtk/empathy-individual-view.h b/libempathy-gtk/empathy-individual-view.h
index 6d72e4d0..bae7fbcb 100644
--- a/libempathy-gtk/empathy-individual-view.h
+++ b/libempathy-gtk/empathy-individual-view.h
@@ -98,9 +98,6 @@ EmpathyIndividualView *empathy_individual_view_new (
FolksIndividual *empathy_individual_view_dup_selected (
EmpathyIndividualView *view);
-gchar *empathy_individual_view_get_selected_group (EmpathyIndividualView *view,
- gboolean * is_fake_group);
-
GtkWidget *empathy_individual_view_get_individual_menu (
EmpathyIndividualView *view);