aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-search-bar.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-14 17:12:41 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-14 17:12:41 +0800
commitb932028b82cfb31da782beab7bc71248cc19e24f (patch)
treef623c0afafa01ec69b47f8cf9614a7cb6692d8f4 /libempathy-gtk/empathy-search-bar.c
parent6c6409c01aeeec60ee88eecbf9efa4aa8b0629f0 (diff)
downloadgsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.gz
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.bz2
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.lz
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.xz
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.tar.zst
gsoc2013-empathy-b932028b82cfb31da782beab7bc71248cc19e24f.zip
add empathy_search_bar_paste_clipboard()
Diffstat (limited to 'libempathy-gtk/empathy-search-bar.c')
-rw-r--r--libempathy-gtk/empathy-search-bar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-search-bar.c b/libempathy-gtk/empathy-search-bar.c
index cc2b97753..2116d598a 100644
--- a/libempathy-gtk/empathy-search-bar.c
+++ b/libempathy-gtk/empathy-search-bar.c
@@ -315,3 +315,10 @@ empathy_search_bar_class_init (EmpathySearchBarClass *class)
widget_class->size_allocate = empathy_search_bar_size_allocate;
}
+void
+empathy_search_bar_paste_clipboard (EmpathySearchBar *self)
+{
+ EmpathySearchBarPriv *priv = GET_PRIV (self);
+
+ gtk_editable_paste_clipboard (GTK_EDITABLE (priv->search_entry));
+}