ab60902058
Reimplement tray icon support on top of NaXembed. NaTrayIcon now becomes a subclass of this type, replacing GtkSocket. The ShellTrayIcon wrapper now embeds directly a NaTrayIcon, the ShellEmbeddedWindow GTK widget and ShellGtkEmbed ClutterClone objects are no longer necessary to wrap a NaXembed socket window. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2590>
15 lines
462 B
C
15 lines
462 B
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
#ifndef __SHELL_TRAY_ICON_H__
|
|
#define __SHELL_TRAY_ICON_H__
|
|
|
|
#include <clutter/clutter.h>
|
|
|
|
#define SHELL_TYPE_TRAY_ICON (shell_tray_icon_get_type ())
|
|
G_DECLARE_FINAL_TYPE (ShellTrayIcon, shell_tray_icon,
|
|
SHELL, TRAY_ICON, ClutterClone)
|
|
|
|
void shell_tray_icon_click (ShellTrayIcon *icon,
|
|
ClutterEvent *event);
|
|
|
|
#endif /* __SHELL_TRAY_ICON_H__ */
|