aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-19 18:20:13 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-12-26 16:48:52 +0800
commit48945587ec63dd727d355f615c54a835d0a51c82 (patch)
tree2fa7a1a8222880426596e7ab870bb563ecb5d672 /libempathy-gtk
parentea8cf1e945653b18a866aae586b88446b3899399 (diff)
downloadgsoc2013-empathy-48945587ec63dd727d355f615c54a835d0a51c82.tar
gsoc2013-empathy-48945587ec63dd727d355f615c54a835d0a51c82.tar.gz
gsoc2013-empathy-48945587ec63dd727d355f615c54a835d0a51c82.tar.bz2
gsoc2013-empathy-48945587ec63dd727d355f615c54a835d0a51c82.tar.lz
gsoc2013-empathy-48945587ec63dd727d355f615c54a835d0a51c82.tar.xz
gsoc2013-empathy-48945587ec63dd727d355f615c54a835d0a51c82.tar.zst
gsoc2013-empathy-48945587ec63dd727d355f615c54a835d0a51c82.zip
export empathy_webkit_create_context_menu()
https://bugzilla.gnome.org/show_bug.cgi?id=684357
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-webkit-utils.c2
-rw-r--r--libempathy-gtk/empathy-webkit-utils.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-webkit-utils.c b/libempathy-gtk/empathy-webkit-utils.c
index bf46c1b73..93abe71ca 100644
--- a/libempathy-gtk/empathy-webkit-utils.c
+++ b/libempathy-gtk/empathy-webkit-utils.c
@@ -216,7 +216,7 @@ empathy_webkit_context_menu_selection_done_cb (GtkMenuShell *menu,
g_object_unref (hit_test_result);
}
-static GtkWidget *
+GtkWidget *
empathy_webkit_create_context_menu (WebKitWebView *view,
WebKitHitTestResult *hit_test_result,
EmpathyWebKitMenuFlags flags)
diff --git a/libempathy-gtk/empathy-webkit-utils.h b/libempathy-gtk/empathy-webkit-utils.h
index fccdb0474..bec8aaed5 100644
--- a/libempathy-gtk/empathy-webkit-utils.h
+++ b/libempathy-gtk/empathy-webkit-utils.h
@@ -37,6 +37,10 @@ void empathy_webkit_bind_font_setting (WebKitWebView *webview,
GSettings *gsettings,
const char *key);
+GtkWidget * empathy_webkit_create_context_menu (WebKitWebView *view,
+ WebKitHitTestResult *hit_test_result,
+ EmpathyWebKitMenuFlags flags);
+
void empathy_webkit_context_menu_for_event (WebKitWebView *view,
GdkEventButton *event,
EmpathyWebKitMenuFlags flags);