diff options
Diffstat (limited to 'source4/gtk/common')
-rw-r--r-- | source4/gtk/common/gtk_events.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/gtk/common/gtk_events.c b/source4/gtk/common/gtk_events.c index f844ab01c9..7f1230b13f 100644 --- a/source4/gtk/common/gtk_events.c +++ b/source4/gtk/common/gtk_events.c @@ -135,6 +135,7 @@ static struct fd_event *gtk_event_add_fd(struct event_context *ev, TALLOC_CTX *m fde->flags = flags; fde->handler = handler; fde->private_data = private_data; + fde->additional_flags = 0; fde->additional_data = gtk_fd; channel = g_io_channel_unix_new(fde->fd); @@ -340,6 +341,11 @@ static const struct event_ops gtk_event_ops = { .loop_wait = gtk_event_loop_wait, }; +const struct event_ops *gtk_event_get_ops(void) +{ + return >k_event_ops; +} + int gtk_event_loop(void) { int ret; |