Re: [RFC] Renaming the GtkSourceView namespace from GtkSource to Gsv



My personal opinion is that it's a good move, even though it'll create some pain. Since the API itself won't change behavior-wise, adapting the code to the new change will be simple enough (a Search and Replace throughout the codebase will be enough, I think).

Em qui, 20 de out de 2016 às 09:22, Sébastien Wilmet <swilmet gnome org> escreveu:
Hi,

For GtkSourceView 3.90, there is a plan to rename the namespace from
GtkSource to Gsv:
https://bugzilla.gnome.org/show_bug.cgi?id=755752

Because the current namespace (GtkSource, or gtk_source in lowercase)
conflicts with the GTK+ one.

But I have never heard complaints from GTK+ developers.

So the question is: does it worth the big API churn? Or do you think it
is OK to continue using the GtkSource namespace?

Another element to take into account: GtkSourceView doesn't show the
good example, although it is a widespread library, so external
developers might create other libraries that also conflict with the Gtk
namespace. Example: GtkSpell.

PS: it is not me who created GtkSourceView, I started contributing much
later, so the namespace conflict isn't my fault, I prefer to clarify.

--
Sébastien
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]