summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* autocleanups: allow g_autoptr() usage with GtkTreePathChristian Hergert2017-12-051-0/+1
| | | | | | | | 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
* Ensure that the path is always setEmmanuele Bassi2017-12-051-1/+3
| | | | | | 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.
* Fix the buildEmmanuele Bassi2017-12-051-1/+1
| | | | Use the right argument name in the preconditions check.
* gdk: Documentation improvementsMatthias Clasen2017-12-046-27/+36
|
* docs: Drop some no longer existing functionsMatthias Clasen2017-12-041-4/+0
|
* Revert "clipboard: Add gdk_clipboard_set()"Matthias Clasen2017-12-045-27/+118
| | | | | | This reverts commit dc50e0637ffa8bc7a369d00a5d8e7656d03c3781. This broke the build.
* clipboard: Add gdk_clipboard_set()Benjamin Otte2017-12-055-118/+27
| | | | | | | | | | | | | | | | 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.
* dnd: Remove x/y coordinates from drag-data-receivedBenjamin Otte2017-12-0522-106/+117
| | | | | | 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.
* Expand the docsMatthias Clasen2017-12-041-1/+9
| | | | Cross-reference the serializers.
* Document gdk_content_provider_contents_changedMatthias Clasen2017-12-041-0/+6
|
* gdk: Expand the clipboard documentationMatthias Clasen2017-12-041-1/+10
|
* gdk: Fill in some blanks in the docsMatthias Clasen2017-12-047-3/+64
| | | | This is just an initial cut; more work is needed.
* Add a long description for GdkTextureMatthias Clasen2017-12-041-0/+16
|
* Move GdkGrabStatus docsMatthias Clasen2017-12-041-3/+1
| | | | | This enum was the odd man out in the initialization docs. Move it to GdkSeat where grabbing happens nowadays.
* Add new stuff to the gdk docsMatthias Clasen2017-12-043-0/+114
| | | | Document all the things.
* Fix the gdk doc buildMatthias Clasen2017-12-042-4/+0
| | | | Some types don't exist anymore.
* switch: Remove unused variableTimm Bäder2017-12-041-2/+0
|
* wayland: Initialize variableBenjamin Otte2017-12-041-0/+1
| | | | Otherwise we get NULL-warnings when we try to use (read: unref) it.
* actionbar: Add more docs for gtk_action_bar_get_revealedMatthias Clasen2017-12-041-0/+2
| | | | This stops gtk-doc complaints.
* about dialog: Add some missing docsMatthias Clasen2017-12-041-1/+20
| | | | | gtk_about_dialog_set/get_system_information are new, and were missing docs.
* docs: Remove gtk_application_is_inhibitedMatthias Clasen2017-12-041-1/+0
| | | | It doesn't exist anymore.
* Remove some more gtk_widget_get_content_size usesTimm Bäder2017-12-0414-59/+54
|
* widgetbowl: Add some more widget typesTimm Bäder2017-12-041-0/+20
|
* testswitch: Remove unnecessary gtk_widget_show callsTimm Bäder2017-12-041-6/+0
|
* image: Stop using gtk_widget_get_content_sizeTimm Bäder2017-12-041-4/+3
|
* popover: Stop using gtk_widget_get_content_sizeTimm Bäder2017-12-031-5/+4
|
* spinner: Stop using gtk_widget_get_content_sizeTimm Bäder2017-12-031-4/+2
|
* gsk: Remove gsk_render_node_set_scaling_filters()Benjamin Otte2017-12-035-70/+2
| | | | | | 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.
* Use Unicode quotation marks in new stringsPiotr Drąg2017-12-033-3/+3
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772371
* Update POTFILES.inPiotr Drąg2017-12-032-0/+16
|
* GDK W32: Remove stray debug codeРуслан Ижбулатов2017-12-031-2/+0
| | | | | 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).
* dnd: Remove unused variablesBenjamin Otte2017-12-031-61/+24
|
* Remove GdkDragProtocol from the apiMatthias Clasen2017-12-0318-172/+36
| | | | | ...together with apis that return it. We were not using this information in GTK+ at all, so no need to provide it.
* Drop api that is only for unmanaged dndMatthias Clasen2017-12-034-31/+18
| | | | These functions are not needed as public api anymore.
* dnd: Handle rootwin drop in gdkMatthias Clasen2017-12-031-40/+6
| | | | This lets us drop the only use of the drag protocol in gtk.
* dnd: Remove much of the unmanaged dndMatthias Clasen2017-12-033-670/+18
|
* wayland: Add primary clipboard subclassBenjamin Otte2017-12-036-242/+454
| | | | | | | | | 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.
* wayland: Implement taking over the clipboardBenjamin Otte2017-12-032-70/+133
| | | | | The clipboard is now complete. That was fast.
* wayland: Implement reading the clipboardBenjamin Otte2017-12-035-34/+168
| | | | | We now keep track of what's in the clipboard and allow people to read its contents.
* wayland: Add skeleton for a GdkClipboardWaylandBenjamin Otte2017-12-034-0/+137
| | | | | Creates the source file and a custom subclass and makes sure it's used by GDK.
* gdk: Get rid of owner change eventsBenjamin Otte2017-12-037-127/+7
| | | | They're unused now.
* gtk: Remove GtkClipboardBenjamin Otte2017-12-0317-3862/+2
|
* icon-browser: Port to new clipboardBenjamin Otte2017-12-031-3/+3
|
* gtk-demo: Port to GdkClipboardBenjamin Otte2017-12-032-44/+51
|
* clipboard: Change image convenience APIsBenjamin Otte2017-12-033-39/+40
| | | | Don't use pixbufs anymore, use textures.
* gdk: Add (de)serializers for GDK_TYPE_TEXTUREBenjamin Otte2017-12-032-4/+56
| | | | | We want to use textures more, so we should be able to use them for copy/paste and dnd.
* x11: Handle case where clipboard was reclaimed quicklyBenjamin Otte2017-12-031-0/+11
| | | | | | | | | | | 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.
* entry: Port to GdkClipboardBenjamin Otte2017-12-031-142/+167
|
* x11: Implement storing the clipboardBenjamin Otte2017-12-031-6/+158
|
* x11: Implement MULTIPLE requestsBenjamin Otte2017-12-031-2/+94
|