GNOME Bugzilla – Bug 667415
GtkCellRendererText: Interpret "" color proprerties like NULL
Last modified: 2018-02-10 04:39:14 UTC
Created attachment 204752 [details] [review] 0001-GtkCellRendererText-Interpret-color-properties-like-.patch This patch lets this work in gtkmm code: cell.property_foreground() = ""; or cell.property_foreground() = std::string(); or cell.property_foreground() = Glib::ustring(); to reset the foreground color to the default. This is not possible in gtkmm, which does not generally distinguish between NULL (0) and "": cell.property_foreground() = 0;
Please?
NULL and "" are two very different things. I guess we'll have to agree to disagree on that point.
OK. I'm not very interested in arguing about it generally. But can you tell me what the difference is in this case? Or, to put it another way, what is the advantage of interpreting "" as an invalid color instead of just interpreting it as an unset, like NULL.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.