mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Add GAppInfoMonitor
This is a simple object that emits a "change" signal when the installed applications may have changed in some way. https://bugzilla.gnome.org/show_bug.cgi?id=711556
This commit is contained in:
@@ -296,6 +296,20 @@ GLIB_AVAILABLE_IN_ALL
|
||||
void g_app_launch_context_launch_failed (GAppLaunchContext *context,
|
||||
const char * startup_notify_id);
|
||||
|
||||
#define G_TYPE_APP_INFO_MONITOR (g_app_info_monitor_get_type ())
|
||||
#define G_APP_INFO_MONITOR(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
|
||||
G_TYPE_APP_INFO_MONITOR, GAppInfoMonitor))
|
||||
#define G_IS_APP_INFO_MONITOR(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
|
||||
G_TYPE_APP_INFO_MONITOR))
|
||||
|
||||
typedef struct _GAppInfoMonitor GAppInfoMonitor;
|
||||
|
||||
GLIB_AVAILABLE_IN_2_40
|
||||
GType g_app_info_monitor_get_type (void);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_40
|
||||
GAppInfoMonitor * g_app_info_monitor_get (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_APP_INFO_H__ */
|
||||
|
Reference in New Issue
Block a user