diff options
author | lukefromdc <[email protected]> | 2017-07-14 17:18:59 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2017-08-13 14:37:24 -0400 |
commit | 401faa0e87a8769607b979ac464be8c0fc832ff7 (patch) | |
tree | e385338950f7abd16a997fc3309a03ebc8dde9c3 /libmate-panel-applet/panel-applet-private.h | |
parent | 6bcad424c6efaf2b37f1810f52ab9ffd24377cd8 (diff) | |
download | mate-panel-401faa0e87a8769607b979ac464be8c0fc832ff7.tar.bz2 mate-panel-401faa0e87a8769607b979ac464be8c0fc832ff7.tar.xz |
limatepanel-applet: add panel-applet-private.h
... and move private functions from factory to this file. Later
we will have at least one more private function.
Based on https://github.com/GNOME/gnome-panel/commit/c04da8c76ee6f16af44faca2b247df71e98b0a4b
plus one more change as it was added out of order
Diffstat (limited to 'libmate-panel-applet/panel-applet-private.h')
-rw-r--r-- | libmate-panel-applet/panel-applet-private.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libmate-panel-applet/panel-applet-private.h b/libmate-panel-applet/panel-applet-private.h new file mode 100644 index 00000000..fe3e013b --- /dev/null +++ b/libmate-panel-applet/panel-applet-private.h @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2010 Carlos Garcia Campos + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, see <http://www.gnu.org/licenses/>. + * + * Authors: + * Carlos Garcia Campos <[email protected]> + */ + +#ifndef PANEL_APPLET_PRIVATE_H +#define PANEL_APPLET_RPIVATE_H + +#include "mate-panel-applet.h" + +G_BEGIN_DECLS + +guint32 mate_panel_applet_get_xid (MatePanelApplet *applet, + GdkScreen *screen); +const gchar *mate_panel_applet_get_object_path (MatePanelApplet *applet); + +GtkWidget *mate_panel_applet_get_applet_widget (const gchar *factory_id, + guint uid); + +G_END_DECLS + +#endif |