[empathy] Add empathy_linking_dialog_get_individual_linker()



commit f32eb6e690caf29430e14fddb410491732d89800
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Sep 1 18:29:43 2010 +0100

    Add empathy_linking_dialog_get_individual_linker()
    
    Helps: bgo#628133

 libempathy-gtk/empathy-linking-dialog.c |    8 ++++++++
 libempathy-gtk/empathy-linking-dialog.h |    5 +++++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-linking-dialog.c b/libempathy-gtk/empathy-linking-dialog.c
index 6d76ea1..8048848 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 912a3ce..fb47641 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__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]