Benjamin Otte
76d0e1e398
API: Remove gtk_render_frame_gap()
...
That function does not make sense at all in a CSS world. So better don't
support it anymore.
2018-07-24 20:55:45 +02:00
Benjamin Otte
14408b7485
render: Make gtk_render_background() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
2a11baf6ea
render: Make gtk_render_check/arrow/handle() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
51d40ca023
render: Make gtk_render_layout() use the snapshot API
...
This removes a lot of duplicated code.
2018-07-24 20:55:45 +02:00
Benjamin Otte
5d9d73b090
testsuite: Fix DragContext => Drag renaming
2018-07-24 20:55:45 +02:00
Benjamin Otte
5f7e093168
gtk: Move GtkGesture declaration to gtktypes.h
...
That way, headers can use the gesture type without having to include
gtkgesture.h
2018-07-24 20:55:45 +02:00
Benjamin Otte
0f70e6d70a
docs: Remove remains of Mir backend
2018-07-24 20:55:45 +02:00
Benjamin Otte
259be23ff2
broadway: Remove unused variable
2018-07-24 20:55:45 +02:00
Daniel Șerbănescu
337eedb513
Update Romanian translation
2018-07-24 18:09:59 +00:00
Nirbheek Chauhan
185354555c
Merge branch 'nirbheek/misc-meson-fixes' into 'master'
...
Fix broadway backend build and graphene as a subproject
Closes #1197 and #1218
See merge request GNOME/gtk!265
2018-07-24 08:29:34 +00:00
Daniel Mustieles
29905d1ce6
Updated Spanish translation
2018-07-24 10:03:20 +02:00
Timm Bäder
73dd73c859
Merge branch 'just-popover-menu-things' into 'master'
...
Post-gizmo GtkPopoverMenu fixes
See merge request GNOME/gtk!264
2018-07-23 18:55:55 +00:00
Nirbheek Chauhan
cfb0df14cc
meson: Update pango and gdk-pixbuf wrap locations
...
See: https://gitlab.gnome.org/GNOME/gtk/issues/1219
2018-07-23 20:17:04 +05:30
Nirbheek Chauhan
b343abfa51
meson: Support graphene as a fallback dependency
...
Don't assume graphene_dep is always a pkg-config dependency.
Closes https://gitlab.gnome.org/GNOME/gtk/issues/1197
2018-07-23 20:17:04 +05:30
Nirbheek Chauhan
5df4d27752
meson: libgdk-broadway.a depends on broadwayjs.h
...
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1218
Also fix another dependency error I found.
2018-07-23 20:15:44 +05:30
Daniel Mustieles
bbf5d142b3
Updated Spanish translation
2018-07-23 12:10:24 +02:00
Ernestas Kulik
1fbbaef49e
testpopover: Don’t set margin in menu box
...
The gizmo already provides sufficient padding.
2018-07-23 13:05:57 +03:00
Ernestas Kulik
d88268c142
gtkpopovermenu: Conditionally chain up in gtk_popover_menu_add()
...
Otherwise the stack gets parented to the wrong widget and the contents
are never drawn.
2018-07-23 13:01:01 +03:00
Ernestas Kulik
49ae68c2c7
gtkpopovermenu: Drop call to gtk_widget_show()
...
The stack is already visible.
2018-07-23 13:00:11 +03:00
Matthias Clasen
1d72e3e193
Drop builtin icon test
...
We don't have these icons anymore.
2018-07-22 17:16:20 +00:00
Bruce Cowan
20deda2bd6
Update British English translation
2018-07-21 11:08:03 +00:00
Benjamin Otte
447b166ed3
Merge branch 'wip/muktupavels/remove-gtk-css-provider-get-default' into 'master'
...
gtkcssprovider: remove gtk_css_provider_get_default
See merge request GNOME/gtk!256
2018-07-20 14:03:51 +00:00
Christoph Reiter
1b230324ba
ci: add hicolor-icon-theme to the docker image
...
The tests complain about it, not sure if this helps.
2018-07-20 15:04:26 +02:00
Matthias Clasen
806c659efe
Drop unused old icons
...
We don't need to ship the deprecated old stock-id named
icons and the drag cursors - we don't use them from resources
anyway.
2018-07-20 08:06:07 -04:00
Emin Tufan Çetin
51873ebe37
Update Turkish translation
2018-07-20 11:18:15 +00:00
Matthias Clasen
827219e214
Emoji chooser: Also check for hex boxes
...
We don't want to see those either.
2018-07-19 17:57:19 -04:00
Matthias Clasen
5c9b25c66e
moji chooser: Try harder to avoid fallback
...
We don't want to see any fallback rendering.
The current check was still letting some fallback
combinations through.
Based on work by Julian Sparber.
2018-07-19 17:50:54 -04:00
Matthias Clasen
37e4ae2fbd
Quiet a compiler warning
...
We don't need to handle GDK_CONFIGURE here, so make the
compiler not warn about it.
2018-07-19 17:48:06 -04:00
Matthias Clasen
14f86ae24d
testsuite: Add emoji icon names
...
We check for all icon names that are used in gtk.
2018-07-19 17:48:06 -04:00
Matthias Clasen
849ffebc21
Emoji chooser: Use icons for sections
...
This is more reliable than using text-style Emoji
which may not be present.
Based on work by Julian Sparber.
2018-07-19 17:47:50 -04:00
Matthias Clasen
7dabc2a42c
Merge branch 'master' into 'master'
...
widgetfactory: add separator tool item to presentation
See merge request GNOME/gtk!249
2018-07-19 18:06:25 +00:00
Matthias Clasen
bef8a3a0e9
Merge branch 'content-provider-autoptr' into 'master'
...
gdk: Add auto cleanup func for GdkContentProvider
See merge request GNOME/gtk!251
2018-07-19 18:04:24 +00:00
Matthias Clasen
31d2638088
Merge branch 'content-provider-docs' into 'master'
...
docs: Fix GdkContentProvider documentation
See merge request GNOME/gtk!254
2018-07-19 17:46:36 +00:00
Ernestas Kulik
40019517cf
docs: Fix GdkContentProvider documentation
...
Currently it’s lacking properties, signals and class vfuncs.
2018-07-19 20:05:19 +03:00
Alberts Muktupāvels
7a8f5ca970
gtkcssprovider: remove gtk_css_provider_get_default
...
This function is unused since cdc6e82720
commit and does not
contain fallback style.
https://gitlab.gnome.org/GNOME/gtk/issues/1226
2018-07-19 19:25:17 +03:00
Benjamin Otte
4063c3dc31
Merge branch 'content-deserializer-fixes' into 'master'
...
Content deserializer fixes
See merge request GNOME/gtk!252
2018-07-19 13:59:21 +00:00
Ernestas Kulik
96d0368290
gdk: contentdeserializer: Fix deserializer not returning
...
file_uri_deserializer does not return on success, only on failure. This
commit fixes clipboard reads never finishing for some types.
2018-07-19 15:55:58 +03:00
Ernestas Kulik
9a0ec5b1e0
gdk: contentdeserializer: Fix stream usage
...
file_uri_deserializer splices a memory stream, as opposed to
string_deserializer, which uses a converter and filter stream. This
commit fixes erroneous use of GMemoryOutputStream as
GFilterOutputStream.
2018-07-19 15:53:08 +03:00
Ernestas Kulik
7b5a0a829a
gdk: Add auto cleanup func for GdkContentProvider
2018-07-19 11:28:21 +03:00
Matthias Clasen
1030d9e5b1
docs: Small updates to the migration guide
...
Mention that event controllers are available in 3.x, amongst others.
2018-07-18 20:22:18 -04:00
Matthias Clasen
0750b4fd28
Merge branch 'places-sidebar-dnd' into 'master'
...
placessidebar: Take a GdkDrag in _set_drop_targets_visible()
Closes #1220
See merge request GNOME/gtk!247
2018-07-18 00:23:08 +00:00
Günther Wutz
1d4ce5a544
widgetfactory: add separator tool item to presentation
2018-07-17 21:50:19 +02:00
Ernestas Kulik
4b2d63167e
placessidebar: Take a GdkDrag in _set_drop_targets_visible()
...
Since the function is usually called from GtkWidget::drag-{begin,end} handlers,
taking a GdkDrop does not work, especially given that
::drag-action-requested is emitted without checking the type.
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1220
2018-07-17 19:19:14 +03:00
Timm Bäder
6fe0a8c6b3
gesturestylus: Clarify a documentation comment
...
Use the proper gtkdoc syntax for signals.
2018-07-17 17:33:47 +02:00
Timm Bäder
04eb7eef29
Remove icon extents API
2018-07-17 17:33:47 +02:00
Timm Bäder
480a2c2770
widget: Remove another ->priv usage
2018-07-17 17:33:47 +02:00
Timm Bäder
f699fff6e0
sizerequest: Pull locals into closest scope
2018-07-17 17:33:47 +02:00
Timm Bäder
4bc145549d
Correctly mark an enum value in a doc comment
2018-07-17 17:33:47 +02:00
Timm Bäder
cf7fa931d3
sizerequest: Only check reported baselines if requested
...
If the passed-in store locations for the baselines are NULL anyway, we
don't need to check the reported baselines for correctness.
2018-07-17 17:33:47 +02:00
Timm Bäder
392b4d9ac5
gl renderer: Pull a few declarations into the closest scope
2018-07-17 17:33:47 +02:00