aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-02 01:29:43 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-02 18:16:24 +0800
commitf32eb6e690caf29430e14fddb410491732d89800 (patch)
tree6c92493a94a44ea484791f9c23d11c32ac113c69
parent0cdd19e18818fb096db954d48ae8770d3458908d (diff)
downloadgsoc2013-empathy-f32eb6e690caf29430e14fddb410491732d89800.tar
gsoc2013-empathy-f32eb6e690caf29430e14fddb410491732d89800.tar.gz
gsoc2013-empathy-f32eb6e690caf29430e14fddb410491732d89800.tar.bz2
gsoc2013-empathy-f32eb6e690caf29430e14fddb410491732d89800.tar.lz
gsoc2013-empathy-f32eb6e690caf29430e14fddb410491732d89800.tar.xz
gsoc2013-empathy-f32eb6e690caf29430e14fddb410491732d89800.tar.zst
gsoc2013-empathy-f32eb6e690caf29430e14fddb410491732d89800.zip
Add empathy_linking_dialog_get_individual_linker()
Helps: bgo#628133
-rw-r--r--libempathy-gtk/empathy-linking-dialog.c8
-rw-r--r--libempathy-gtk/empathy-linking-dialog.h5
2 files changed, 13 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-linking-dialog.c b/libempathy-gtk/empathy-linking-dialog.c
index 6d76ea1de..804884861 100644
--- a/libempathy-gtk/empathy-linking-dialog.c
+++ b/libempathy-gtk/empathy-linking-dialog.c
@@ -196,3 +196,11 @@ empathy_linking_dialog_show (FolksIndividual *individual,
return linking_dialog;
}
+
+EmpathyIndividualLinker *
+empathy_linking_dialog_get_individual_linker (EmpathyLinkingDialog *self)
+{
+ g_return_val_if_fail (EMPATHY_IS_LINKING_DIALOG (self), NULL);
+
+ return GET_PRIV (self)->linker;
+}
diff --git a/libempathy-gtk/empathy-linking-dialog.h b/libempathy-gtk/empathy-linking-dialog.h
index 912a3ce4d..fb47641ca 100644
--- a/libempathy-gtk/empathy-linking-dialog.h
+++ b/libempathy-gtk/empathy-linking-dialog.h
@@ -25,6 +25,8 @@
#include <folks/folks.h>
+#include "empathy-individual-linker.h"
+
G_BEGIN_DECLS
#define EMPATHY_TYPE_LINKING_DIALOG (empathy_linking_dialog_get_type ())
@@ -56,6 +58,9 @@ GType empathy_linking_dialog_get_type (void) G_GNUC_CONST;
GtkWidget * empathy_linking_dialog_show (FolksIndividual *individual,
GtkWindow *parent);
+EmpathyIndividualLinker * empathy_linking_dialog_get_individual_linker (
+ EmpathyLinkingDialog *self);
+
G_END_DECLS
#endif /* __EMPATHY_LINKING_DIALOG_H__ */