Re: Removing global variables
- From: Alexandre Bique <bique alexandre gmail com>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Removing global variables
- Date: Wed, 26 Nov 2014 15:22:06 +0100
On Wed, Nov 26, 2014 at 3:17 PM, Emmanuele Bassi <ebassi gmail com> wrote:
you mean apart from the major breakage of API, the massive
complication of the internals, and the portability issues?
It is about adding a pointer to a context.
GtkCtx *gtk_ctx = gtk_ctx_new();
GtkWindow *window = gtk_window_new();
gtk_widget_set_ctx(window, gtk_ctx);
gtk_main_loop_ctx(gtk_ctx);
Would that work without breaking the actual interface?
Then yes the internals would not an update pass.
--
Alexandre Bique
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]