Mohammed Sadiq
47872e5172
examples: Use icon-name property to set button icons
...
Gtk4 added an icon-name property for GtkButton.
2018-05-09 15:28:28 +05:30
Mohammed Sadiq
65b423eb05
examples: Simplify counting buffer lines
...
We do have a gtk_text_buffer_get_line_count() function
to get the line count.
2018-05-09 15:28:15 +05:30
Mohammed Sadiq
88ddda6d60
examples: Remove explicit gtk_widget_show()
...
In gtk4, widgets are visible by default.
2018-05-09 15:27:55 +05:30
Robert Ancell
e95eeaeef1
Fix comment typo introduced in a32725bc9a
2018-05-09 11:28:53 +12:00
Marek Cernocky
c831a77592
Updated Czech translation
2018-05-08 22:55:59 +02:00
Mohammed Sadiq
8fcc401e05
examples: Take advantage of user_data passed
...
The last parameter of the signal callback from .ui
is the template's object from which the class is
derived.
And so, we already have access to the window object.
Let's just use it.
2018-05-08 18:55:48 +05:30
Emmanuele Bassi
f07b131362
ci: Disable tests when building Graphene
...
Our flatpak-builder manifests include building Graphene from Git; since
we're building the GTK demos, it's pointless to build the Graphene tests
as well. Disabling tests and benchmarks avoids pointless installations
inside the Flatpak build repo that will just be removed by the time we
bundle the demo.
2018-05-08 14:20:00 +01:00
Emmanuele Bassi
b702618ed9
docs: List private headers for gtk-doc to ignore
...
We have a lot of private headers that should not be used by gtk-doc when
scanning for symbols.
2018-05-08 14:20:00 +01:00
Emmanuele Bassi
1262d0c6e5
Avoid absolute paths when building the API reference
...
We should always use relative paths, or include_directories objects, to
allow using GTK as a subproject.
2018-05-08 14:20:00 +01:00
Daniel Mustieles
547e5bf128
Updated Spanish translation
2018-05-08 15:12:45 +02:00
Daniel Mustieles
ac6d42a119
Updated Spanish translation
2018-05-08 15:06:32 +02:00
Mohammed Sadiq
bf1c344443
examples: Don't use private members for final classes
...
Only derivable classes are required to have private members
so that derived classes can't override them.
2018-05-08 14:34:43 +05:30
Mohammed Sadiq
555c6d7ac7
reference: Replace reference to gtk3 with gtk4
2018-05-08 06:05:41 +05:30
Mohammed Sadiq
5242073547
reference: Use gtk+-4 for compilation in examples
2018-05-08 06:05:04 +05:30
Mohammed Sadiq
772c994fd0
examples: Simplify .ui files
...
Run gtk4-builder-tool recursively
2018-05-07 22:30:40 +05:30
Mohammed Sadiq
c5976fed9a
examples: Fix Makefiles to use gtk4 for build
2018-05-07 22:29:32 +05:30
Benjamin Otte
34d1ebc562
dnd: Make "formats" a construct-only property
...
... and hide the member variable inside the DragContextPrivate.
2018-05-07 18:55:09 +02:00
Benjamin Otte
80f5fd8435
wayland: Remove stray if
...
Leftover from d056be4ea2
.
I need more sleep when I need to fixup the fixups of my fixups now.
2018-05-07 18:55:09 +02:00
Benjamin Otte
2ce2a80d40
win32: Remove unused file
2018-05-07 18:55:09 +02:00
Benjamin Otte
fa0a44e811
Merge branch 'wip/sadiq/fixes' into 'master'
...
icon-browser: Fix typo in description
See merge request GNOME/gtk!138
2018-05-07 15:54:26 +00:00
Mohammed Sadiq
67becb4510
icon-browser: Fix typo in description
...
This is shown as tooltip-text
2018-05-07 20:50:27 +05:30
Benjamin Otte
69644993f6
gsk: Improve GSK_RENDERER behavior
...
1. Include the broadway renderer (so we can test it properly fails on
Wayland or X11)
2. List all potential renderers, print useful information when Vulkan
is not compiled in instea dof omitting it
3. Improve docs
2018-05-07 16:45:32 +02:00
Benjamin Otte
d056be4ea2
wayland: Fix memleak
...
7f8a8f221d
forgot to free the data offer
passed to it.
2018-05-07 16:28:50 +02:00
Matthias Clasen
3c05a6662b
Update docs for debug environment variables
...
Just the usual pre-release doc fixups.
2018-05-07 07:47:18 -04:00
Matthias Clasen
5469bf0773
Document the GSK_RENDERER environment variable
...
Just the usual pre-release doc fixups.
2018-05-07 07:47:18 -04:00
Matthias Clasen
335a8aa843
Update build docs
...
Just the usual pre-release doc fixups.
2018-05-07 07:47:18 -04:00
Matthias Clasen
f5a2ab38f3
Miscellaneous docs improvements
...
Just the usual pre-release doc fixups.
2018-05-07 07:47:18 -04:00
Matthias Clasen
766185bce5
Add GtkWidgetPaintable to the docs
...
Just the usual pre-release doc fixups.
2018-05-07 07:47:18 -04:00
Matthias Clasen
c7fd3ebbaf
Add GdkPaintable to the docs
...
Just the usual pre-release doc fixups.
2018-05-07 07:47:18 -04:00
Daniel Boles
e1f1fe9ba6
MediaStream: Fix capitalisation of two new %TRUEs
2018-05-06 21:46:30 +01:00
Matthias Clasen
79e54929a2
Add more media docs
2018-05-06 15:57:10 -04:00
Benjamin Otte
7f8a8f221d
wayland: Redo DND offer handling
...
Instead of tracking offers in GdkWaylandSelection objects, track the
pending offer in the GdkWaylandSeat and pass it to the GdkDragContext
once we get an enter event.
2018-05-06 02:10:20 +02:00
Benjamin Otte
03a85ff2a0
gdk: Remove unnecessary assignments
...
The variable is never read again.
2018-05-06 02:10:20 +02:00
Matthias Clasen
f569717a03
Add media support to docs
2018-05-05 18:28:19 -04:00
Matthias Clasen
7fdf3d1769
Fixes to the gtk docs
2018-05-05 18:03:31 -04:00
Matthias Clasen
702deee799
Add some more content to the migration guide
2018-05-05 13:33:36 -04:00
Matthias Clasen
a34f35d587
More NEWS
2018-05-05 13:33:36 -04:00
Daniel Boles
901aa59b5b
GesturePan: Remove widget parameter from docs, too
...
71991270b0 (note_112519)
2018-05-05 10:51:24 +01:00
Timm Bäder
f6a79559e9
inspector: Don't add controllers to non-window toplevels
...
That doesn't make sense in this context and breaks grabs.
2018-05-05 09:06:22 +02:00
Timm Bäder
64849426ae
inspector: Use unique names for g_object_set_data calls
...
Otherwise the calls of the different inspector pages might end up
clashing.
2018-05-05 09:05:02 +02:00
Timm Bäder
d1cdb9b5cf
widget: Clarify add_tick_callback docs
...
You don't pass the callback to remove_tick_callback, but the id returned
from add_tick_callback.
2018-05-05 07:39:55 +02:00
Timm Bäder
e379ea617a
stylecontext: Draw arrow-less insertion cursors as color nodes
...
This lets us avoid an often used cairo node.
2018-05-05 07:25:10 +02:00
Timm Bäder
f44959fa59
stylecontext: Remove outdated comment
...
gtktextview:invalidate_cursor_windwo is no more.
2018-05-05 07:25:10 +02:00
Timm Bäder
af27199102
widget: Directly access priv pointer in even controller API
...
Spares us a few lines.
2018-05-05 07:25:10 +02:00
Christian Hergert
613f7609c2
build: fix meson.build when quartz is used
...
We need access to the variable earlier in the file when the quartz
backend is being setup.
2018-05-04 17:46:08 -07:00
Piotr Drąg
0f0be1ee8e
Update Polish translation
2018-05-04 21:48:33 +02:00
Matthias Clasen
db095f8cdb
Update NEWS
2018-05-04 15:37:48 -04:00
Matthias Clasen
4a72cab818
Document gdk_drop_read_async
2018-05-03 22:04:28 -04:00
Matthias Clasen
e191015aa0
The legacy event controller is still private
2018-05-03 20:45:36 -04:00
Matthias Clasen
45db4a5550
Merge branch 'wip/xdg-shell' into 'master'
...
xdg shell (stable)
See merge request GNOME/gtk!35
2018-05-04 00:43:01 +00:00