| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
the -gtk-scaled() change in the previous commit makes it so
that we now print out the scale factors. Update the expected
output of affected tests to take that into account.
|
|
|
|
| |
Also add tests for all these newfangled formats.
|
|
|
|
|
|
| |
This was just testing that text nodes do alpha correctly, but the test
even breaks if the default font is different from the one that was used
to create the reference image, so drop it for now.
|
|
|
|
|
|
|
| |
The CSS color spec version 4 introduces this, support has hit Safari,
Chrome and Firefox, so this looks like a feature that's here to stay.
https://drafts.csswg.org/css-color/#hex-notation
|
|
|
|
|
|
|
|
|
|
|
| |
With autotools the schemas were compiled into each test suite directory
and the tests set GSETTINGS_SCHEMA_DIR to the test build directory.
With meson's gnome.compile_schemas() we can not define a target directory
so just make sure it is built in the gtk directory and set GSETTINGS_SCHEMA_DIR
to the gtk build directory when running the tests.
This makes the gtk+:gtk suite pass when no gtk is installed on the system.
|
|
|
|
| |
If this is a problem, it needs to be handled explicitly.
|
|
|
|
| |
On non-windows, this doesn't do anything anyway.
|
|
|
|
|
|
|
| |
According to meson it's the only private header that doesn't conform to
the *private.h naming.
Fix that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main GDK thread lock is not portable and deprecated.
The only reason why gdk_threads_add_idle() and
gdk_threads_add_idle_full() exist is to allow invoking a callback with
the GDK lock held, in case 3rd party libraries still use the deprecated
gdk_threads_enter()/gdk_threads_leave() API.
Since we're removing the GDK lock, and we're releasing a new major API,
such code cannot exist any more; this means we can use the GLib API for
installing idle callbacks.
https://bugzilla.gnome.org/show_bug.cgi?id=793124
|
|
|
|
|
| |
It's not used any more, recent files are only used by the filtchooser
and that one uses GtkRecentManager directly.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
We rely on log messages here. Since logging is per-display
now, we need to set a display on our custom icontheme object
to get the expected log messages.
|
|
|
|
| |
We can use the generic ::event signal instead.
|
|
|
|
| |
The results are slightly different for these now.
|
|
|
|
|
|
| |
This is a bit of filechooser internals that gets shared with
nautilus, which is fine, but it shouldn't be part of our
public API. There are no other users than nautilus.
|
| |
|
|
|
|
| |
These two uses of ::delete-event were pointless.
|
|
|
|
| |
Otherwise, they get picked up by the other node tests.
|
|
|
|
| |
Some of these were wrong or empty.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The test was assuming that gtk_text_buffer_paste_clipboard is
synchronous, which is no longer the case.
|
|
|
|
|
| |
This test needs similar fixes to the notify test to
pass a display to GDK objects when instantiating them.
|
|
|
|
| |
We need to pass a display when creating more GDK objects now.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Replace all uses of the old function by the new one.
No functional change.
|
|
|
|
|
| |
It is better to use the explicit keymap getter - the
default display may not even use the current gdk backend.
|
|
|
|
|
| |
Atoms are just interned strings now, so we can just
use g_intern_string.
|
|
|
|
| |
glib warns about these now.
|
| |
|
| |
|
|
|
|
|
|
| |
Instead of using GtkClipboard and handling everything ourselves, we now
put GtkTextBuffer into the GdkClipboard and register (de)serializers for
text/plain.
|
|
|
|
|
|
|
|
| |
This affects a few apis, such as gtk_text_iter_get_pixbuf,
gtk_text_buffer_insert_pixbuf and GtkTextBuffer::insert-pixbuf,
which have all been replaced by texture equivalents.
Update all callers.
|
|
|
|
|
|
|
|
|
| |
That is some old code that still uses IOChannels, and the only
pseudouser is at-spi-atk's commented out code that is still using
CORBA types.
So get rid of it now before I need to start adapting it to the new
clipboard.
|
|
|
|
| |
It's now called GdkContentsFormat
|
|
|
|
|
|
|
| |
warning: We don't do any same-app checks anymore so you currently can
copy local data into external apps.
This will be fixed later.
|
|
|
|
| |
It was just a kludge.
|
|
|
|
|
|
|
|
|
| |
Instead of allowing people to pass a uint user-data, insist on them
comparing mime types.
The user data was a uint instead of a pointer anyway, so uniqueness
could not be guaranteed and it caused more issues than it was worth.
And that's ignoring the fact that it basically wasn't used.
|
|
|
|
|
| |
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
|
| |
|
| |
|
|
|
|
|
| |
Some code was using GtkTargetList, some used GtkTargetEntry and some
GtkTargetPair.
|