| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
As the summary says, this allows using g_autoptr(GtkTreePath). This is
useful for API that uses out parameters for GtkTreePath that need to be
freed.
https://bugzilla.gnome.org/show_bug.cgi?id=791234
|
|
|
|
|
|
| |
We are using `path` unconditionally, but it can be conditionally filled.
To avoid inconsistent internal state, and a compiler warning, let's
assert that the variable is always set.
|
|
|
|
| |
Use the right argument name in the preconditions check.
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit dc50e0637ffa8bc7a369d00a5d8e7656d03c3781.
This broke the build.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API allows specifying a GType and va_args of a value of that type
to set the clipboard contents. This massively simplifies setting weird
object types into the clipboard.
2 example patches included in this patch are the GtkTextBuffer and the
file list in the file chooser.
Using gobject-introspection, this should work without specifying the
type, so that you can literlally say
clipboard.set ("Hello World")
or
clipboard.set (pixbuf)
which is why I've also marked all other setters as (skip). They just
exist in C as wrappers for type safety reasons.
|
|
|
|
|
|
| |
This is in preparation of using input streams to show that these
coordinates aren't needed most of the time and can otherwise be saved
during GtkWidget::drag-drop.
|
|
|
|
| |
Cross-reference the serializers.
|
| |
|
| |
|
|
|
|
| |
This is just an initial cut; more work is needed.
|
| |
|
|
|
|
|
| |
This enum was the odd man out in the initialization docs.
Move it to GdkSeat where grabbing happens nowadays.
|
|
|
|
| |
Document all the things.
|
|
|
|
| |
Some types don't exist anymore.
|
| |
|
|
|
|
| |
Otherwise we get NULL-warnings when we try to use (read: unref) it.
|
|
|
|
| |
This stops gtk-doc complaints.
|
|
|
|
|
| |
gtk_about_dialog_set/get_system_information are new,
and were missing docs.
|
|
|
|
| |
It doesn't exist anymore.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This is a leftover from the very early rendernode that we forgot to delete.
This can be seen by the fact that it is settable on an immutable object.
|
|
|
|
|
|
| |
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772371
|
| |
|
|
|
|
|
| |
I have no idea how this slipped into master (these two lines are not present
in the same commit that went into gtk-3-22).
|
| |
|
|
|
|
|
| |
...together with apis that return it. We were not using this
information in GTK+ at all, so no need to provide it.
|
|
|
|
| |
These functions are not needed as public api anymore.
|
|
|
|
| |
This lets us drop the only use of the drag protocol in gtk.
|
| |
|
|
|
|
|
|
|
|
|
| |
I decided to put this in a custom subclass, because then I could keep
the whole gtk primary protocol self-contained.
The other option would have been reusing GdkWaylandClipboard, but that
didn't seem worth it, especially because that code needs to interact
with the DND machinery, while the primary doesn't.
|
|
|
|
|
| |
The clipboard is now complete.
That was fast.
|
|
|
|
|
| |
We now keep track of what's in the clipboard and allow people to read
its contents.
|
|
|
|
|
| |
Creates the source file and a custom subclass and makes sure it's used
by GDK.
|
|
|
|
| |
They're unused now.
|
| |
|
| |
|
| |
|
|
|
|
| |
Don't use pixbufs anymore, use textures.
|
|
|
|
|
| |
We want to use textures more, so we should be able to use them for
copy/paste and dnd.
|
|
|
|
|
|
|
|
|
|
|
| |
When the reply to a TARGETS request comes in, the clipboard may already
be reclaimed by the local app. Deal with that case (in an ugly way,
strictly speaking we should use a cancellable here).
This happens for example at startup when the initial TARGETS requests
have not been answered until after the main widow popped up. And if such
a window immediately claims the primary clipboard (like when the initial
focus is inside an entry), this race will happen.
|
| |
|
| |
|
| |
|