- 11 Feb, 2018 7 commits
-
-
Emmanuele Bassi authored
We are pushing an error trap, and never popping it from the stack.
-
Alban Browaeys authored
Functional revert of commit 9c4892f2. Fixes introspection scanner warnings like: Warning: Gtk: gtk_drag_finish: Methods must belong to the same namespace as the class they belong to That is, the gtk_drag_* functions cannot be methods as they have a "GdkDragContext" as the instance parameter, and that is not a valid type for the Gtk namespace. This is not an introspected ABI change, as the generated introspection data ignores the annotation. Signed-off-by:
Emmanuele Bassi <ebassi@gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=692152
-
Anders Jonsson authored
-
Piotr Drąg authored
-
-
Fabio Tomat authored
-
Fabio Tomat authored
-
- 10 Feb, 2018 4 commits
-
-
Fran Dieguez authored
-
Fran Dieguez authored
-
Cheng-Chia Tseng authored
-
Cheng-Chia Tseng authored
-
- 09 Feb, 2018 1 commit
-
-
Carlos Garnacho authored
wayland: Improve EOF detection when reading selections See merge request GNOME/gtk!1
-
- 08 Feb, 2018 1 commit
-
-
Carlos Garnacho authored
g_input_stream_read_bytes() roughly provides the same guarantees than g_input_stream_read() wrt the number of bytes being possibly read (i.e. it being a best effort, but no real guarantees). Instead, rely on the 0-len read that we'd get at the end of the transfer. Fixes clipboard/DnD transfers possibly being cut short, resulting on "Broken pipe" errors on the other side. https://gitlab.gnome.org/GNOME/gtk/issues/1 Closes: #1
-
- 05 Feb, 2018 2 commits
-
-
Benjamin Otte authored
-
Benjamin Otte authored
The problem here is that the CSS machinery expects font sizes to be in pixels, but gtk_widget_override_font() provides a value in point and the CSS machinery has no ability to query the DPI and convert. This patch changes the dconversion DPI we use from a hardcoded 96 to the default screen's DPI, which should work better than before. This will of course not listen to changes in the default screen's DPI, but that shouldn't be a problem. People who want to workaround this should use gtk_widget_override_font() with a font that has an absolute size set via pango_font_description_set_absolute_size (size * PANGO_SCALE * gdk_screen_get_resolution (screen)); https://bugzilla.gnome.org/show_bug.cgi?id=774248
-
- 04 Feb, 2018 1 commit
-
-
Jiri Grönroos authored
-
- 03 Feb, 2018 2 commits
- 31 Jan, 2018 1 commit
-
-
Matthias Clasen authored
After commit ffef28a7e8d5ffef7de6a3baccb30b0021b6b0ff, gtk-icon-browser was spewing critical warnings when changing sections. Avoid that by respecting the return value of gtk_tree_model_get_iter.
-
- 30 Jan, 2018 1 commit
-
-
Jason Gerecke authored
BTN_STYLUS3 is defined by the Linux 4.15 kernel and is sent when the third button on a stylus is pressed. At the moment, only Wacom's "Pro Pen 3D" has three stylus buttons. Pressing this button triggers a button 8 event to be sent under X11, so we use the same mapping here. https://bugzilla.gnome.org/show_bug.cgi?id=790033
-
- 27 Jan, 2018 1 commit
-
-
Kalev Lember authored
-
- 26 Jan, 2018 1 commit
-
-
Timm Bäder authored
This can happen, as indicated by GtkMenu explicitly connecting to ::destroy of its toplevel window. Do the same thing in GtkComboBox.
-
- 24 Jan, 2018 2 commits
-
-
Pieter Schalk Schoeman authored
-
Pieter Schalk Schoeman authored
-
- 22 Jan, 2018 3 commits
-
-
Daniel Boles authored
GtkGesture is a GtkEventController. gtk_event_controller_dispose() calls _gtk_widget_remove_controller(). That NULLs the pointer-to-Controller in our EventControllerData but does not delete said ECData from our GList. Subsequently, if that same Widget gets unparent()ed, that method calls unset_state_flags(), which leads to doing reset_controllers() if we are insensitive. Now, unlike most most other loops over the GList of ECData, reset_controllers() does not skip nodes whose pointer-to-Controller is NULL. So, we call gtk_event_controller_reset(NULL) and get a CRITICAL. This surfaced in a gtkmm program. The Gesture is destroyed before the Widget. The Widget then gets dispose()d, which calls unparent()… boom. I didn’t find an MCVE yet but would hope this logic is correct anyway: The simplest fix is to make the loop in gtk_widget_reset_controllers() skip GList nodes with a NULL Controller pointer, like most other such loops, so we avoid passing the NULL to gtk_event_controller_reset(). In other, live cases, _gtk_widget_run_controllers() loops over the GList and removes/frees nodes having NULL Controllers, so that should suffice. But this clearly was not getting a chance to happen in the failing case. https://bugzilla.gnome.org/show_bug.cgi?id=792624
-
GNOME Translation Robot authored
-
Juan Pablo Ugarte authored
Fix bug 771986 "Inconsistent 'row-activated' signal emission before \ drag'n'drop, 'activate-on-single-click'=TRUE, 'reorderable'=TRUE"
-
- 21 Jan, 2018 2 commits
- 19 Jan, 2018 5 commits
-
-
Matthias Clasen authored
Filter models rely on views taking a ref on every node they care about. GtkIconView was not doing that. Amazingly, this has never shown up in a bug so far, until I spotted the fallout in gnome-font-viewer.
-
Matthias Clasen authored
Test that filter models propagate ::row-changed if there is an external reference on the node, and not otherwise. This is showing up in buggy icon view behaviour, where the icon view is not redrawing if the content changes in a model that is below a filter model.
-
Matthias Clasen authored
We must notify the font and font-desc properties when the list selection changes, and return NULL values for them when there is no selection in the list.
-
Matthias Clasen authored
Enable the select button when a font is selected, as it should be.
-
Matthias Clasen authored
Show only the font names in the list, in their own font, in order to make the list less noisy.
-
- 17 Jan, 2018 1 commit
-
-
Chris Lamb authored
Whilst working on the Reproducible Builds effort [0], we noticed that queryimmodules generates non-reproducible output as it iterates over the filesystem without sorting. Patch attached. [0] https://reproducible-builds.org/Signed-off-by:
Chris Lamb <lamby@debian.org> https://bugzilla.gnome.org/show_bug.cgi?id=786528
-
- 16 Jan, 2018 2 commits
-
-
Matthias Clasen authored
We were failing to change the sort order for the default sort column in some cases. Fix that, and add a testcase for this issue. https://bugzilla.gnome.org/show_bug.cgi?id=792459 Add a testcase for the previous fix
-
Matthias Clasen authored
gtk_tree_sortable_has_default_sort_func should return FALSE initially.
-
- 15 Jan, 2018 2 commits
-
-
Piotr Drąg authored
-
Matthias Clasen authored
Some emoji fonts (such as Emoji One), render Emoji sequences such as some of the family variations using multiple individual glyphs. This rendering is too wide and breaks our grid layout. Therefore, we will just skip any sequence whose rendering is more than twice as wide as a simple smiley.
-
- 13 Jan, 2018 1 commit
-
-
Daniel Boles authored
There is no gdk_display_get_monitors(). Instead, we have to use gdk_display_get_n_monitors() and gdk_display_get_monitor(int).
-