diff options
author | lukefromdc <[email protected]> | 2017-07-14 15:25:37 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2017-08-13 14:37:24 -0400 |
commit | 2f5fb35954021ba1fbd71aa3c6304394d2d67bdd (patch) | |
tree | f028d1577bc57f48e3622b825aad0b8d0cdae9b0 /libmate-panel-applet/mate-panel-applet.c | |
parent | 788cde808151c8b4f06ee343f1e7006341c2d0ee (diff) | |
download | mate-panel-2f5fb35954021ba1fbd71aa3c6304394d2d67bdd.tar.bz2 mate-panel-2f5fb35954021ba1fbd71aa3c6304394d2d67bdd.tar.xz |
make it possible to get applet widget
We will use this to get applet widget from factory. This will
allow to bypass GtkPlug/GtkSocket.
Based on https://github.com/GNOME/gnome-panel/commit/408bab094d1fad471b342548dabc58410a3dc327
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet.c')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index c2e0e476..bf7a1f35 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -2454,3 +2454,10 @@ mate_panel_applet_get_object_path (MatePanelApplet *applet) { return applet->priv->object_path; } + +G_MODULE_EXPORT GtkWidget * +mate_panel_applet_get_applet_widget (const gchar *factory_id, + guint uid) +{ + return mate_panel_applet_factory_get_applet_widget (factory_id, uid); +} |