diff options
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.h | 1 | ||||
-rw-r--r-- | libmate-panel-applet/panel-applet-private.h | 1 | ||||
-rw-r--r-- | libmate-panel-applet/panel-plug-private.h | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.h b/libmate-panel-applet/mate-panel-applet.h index 931a681f..d146c939 100644 --- a/libmate-panel-applet/mate-panel-applet.h +++ b/libmate-panel-applet/mate-panel-applet.h @@ -107,6 +107,7 @@ void mate_panel_applet_set_size_hints(MatePanelApplet* applet, const int* size_h gboolean mate_panel_applet_get_locked_down(MatePanelApplet* applet); +// Does nothing when not on X11 void mate_panel_applet_request_focus(MatePanelApplet* applet, guint32 timestamp); void mate_panel_applet_setup_menu(MatePanelApplet* applet, const gchar* xml, GtkActionGroup* action_group); diff --git a/libmate-panel-applet/panel-applet-private.h b/libmate-panel-applet/panel-applet-private.h index fe3e013b..637f0d81 100644 --- a/libmate-panel-applet/panel-applet-private.h +++ b/libmate-panel-applet/panel-applet-private.h @@ -25,6 +25,7 @@ G_BEGIN_DECLS +// Returns 0 when not on X11 guint32 mate_panel_applet_get_xid (MatePanelApplet *applet, GdkScreen *screen); const gchar *mate_panel_applet_get_object_path (MatePanelApplet *applet); diff --git a/libmate-panel-applet/panel-plug-private.h b/libmate-panel-applet/panel-plug-private.h index 0940b70f..0f5933f0 100644 --- a/libmate-panel-applet/panel-plug-private.h +++ b/libmate-panel-applet/panel-plug-private.h @@ -15,6 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +// File should only be used on X11 + #ifndef PANEL_PLUG_PRIVATE_H #define PANEL_PLUG_PRIVATE_H |