[empathy] export empathy_webkit_create_context_menu()



commit 48945587ec63dd727d355f615c54a835d0a51c82
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Sep 19 12:20:13 2012 +0200

    export empathy_webkit_create_context_menu()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684357

 libempathy-gtk/empathy-webkit-utils.c |    2 +-
 libempathy-gtk/empathy-webkit-utils.h |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-webkit-utils.c b/libempathy-gtk/empathy-webkit-utils.c
index bf46c1b..93abe71 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 fccdb04..bec8aae 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);



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