Timm Bäder
eb8870c912
fallback-c89: Include config.h
...
It holds all the HAVE_<func> definitions.
2017-05-22 14:26:32 +01:00
Timm Bäder
a2c8af7f32
widget: remove double assignment
...
We never read the value we assign here.
2017-05-22 14:26:32 +01:00
Timm Bäder
94dd289fd0
placesview: Remove duplicate GtkMountOperation assignment
...
we assign a new mount operation a few lines later again.
2017-05-22 14:26:32 +01:00
Timm Bäder
3380cd63c1
levelbar: Don't allocate 0 blocks
...
Could result in a division by zero later on and doesn't make a lot of
sense anyway.
2017-05-22 14:26:31 +01:00
Timm Bäder
46decc6182
grid: Remove unnecessary NULL checks
...
The minimum and natural pointers passed to measure are never NULL and
that's the only place where we call gtk_grid_get_size_for_size.
2017-05-22 14:23:14 +01:00
Timm Bäder
7adc38a64c
GtkGestureMultiPress: Remove superfluous NULL check
...
The rect parameter in gtk_gesture_multi_press_set_area is annotated as
nullable and the code handles the rect==NULL case, but the
g_return_if_fail kept that case from ever happening.
2017-05-22 14:23:14 +01:00
Timm Bäder
b831e97af4
label: Remove dead ternary operator
2017-05-22 14:23:14 +01:00
Timm Bäder
48ee8016c8
filechooserwidget: Remove always-false error case
...
_gtk_search_engine_new never returns NULL, it always returns a valid
GObject with at least the simple search engine initialized.
2017-05-22 14:23:14 +01:00
Timm Bäder
6c9b11d367
sidebarrow: Remove useless size group
...
Nice try, but size groups don't work with invisible widgets anyway.
Invisible widgets request 0×0.
2017-05-22 14:23:14 +01:00
Timm Bäder
c08f2cb7b5
label: Remove useless if statements
...
We never pass nullable pointers into get_size_for_allocation.
2017-05-22 14:23:14 +01:00
Olivier Fourdan
5209995171
gtkwindow: Hide CSD title bar when undecorated
...
When switching from decorated to undecorated, the title bar should be
hidden as well.
https://bugzilla.gnome.org/show_bug.cgi?id=782117
2017-05-22 09:54:11 +02:00
Robert Ancell
de4818f088
docs: Fix copy-paste error in gtk_file_chooser_get_extra_widget() doc comment
2017-05-20 13:07:33 +12:00
Lapo Calamandrei
622a0f8611
Adwaita: Avoid accindental border on last treeview header
...
The :last-child selector supposed to reset the border was
overridden by the :hover selector. This is fixed by moving the
:last-child selector after the overriding one.
Thanks to Sebastian Keller for spotting.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=779078 .
2017-05-17 18:16:28 +02:00
Lapo Calamandrei
15f3a527ef
Adwaita: regenerate the css with sassc
2017-05-17 18:06:39 +02:00
Lapo Calamandrei
67953e9cfb
Adwaita: modify parse-sass.sh script to use sassc
2017-05-17 18:05:13 +02:00
Robert Ancell
4d1c0317cc
EntryBuffer: Don't generate changed events when input is truncated
2017-05-17 09:05:38 +12:00
Daniel Boles
16e23bebe3
widget-factory: Use :relief=none, not class .flat
...
The rest of the ui file follows that convention.
2017-05-13 21:55:28 +01:00
Matthias Clasen
2dfcb47190
3.22.15
2017-05-11 15:09:33 -04:00
Timm Bäder
73179d3771
listbox: Manually unparent placeholder in dispose
...
We can't make the placeholder a non-internal child as that breaks
applications that previously relied on foreach() to only return
GtkListBoxRow instances. Instead, unparent the placeholder manually in
dispose.
https://bugzilla.gnome.org/show_bug.cgi?id=782494
2017-05-11 15:01:42 -04:00
Matthias Clasen
866bd834e4
Revert "listbox: Properly remove placeholders"
...
This reverts commit b7fdc5b447
.
This was found to break the expectations of existing listbox
users.
2017-05-11 15:01:05 -04:00
Lapo Calamandrei
31a0eead4c
Adwaita: regenerate the css
2017-05-11 15:19:49 +02:00
Lapo Calamandrei
5c98b2b8ed
Adwaita: restyle entry-tag
...
Fix the sizing and spacing, blue tags for the bright variant,
similar to what gnome-documents was shipping, and inverted gray
tags for the dark variant, not vanishing on hover.
2017-05-11 15:19:49 +02:00
Matthias Clasen
e0ad573c82
3.22.14
2017-05-10 14:57:00 -04:00
Carlos Garnacho
a3178fd665
gtkclipboard: Fix typo
...
The standard atom is UTF8_STRING.
2017-05-10 20:25:40 +02:00
Emmanuele Bassi
1a489831b3
build: Fix the check on sassc's presence
...
If sassc is not available we do not want to include the rules to
regenerate the CSS out of the SCSS files.
2017-05-10 14:31:09 +01:00
Chun-wei Fan
801e9cf74b
build/win32/replace.py: Fix replacing items in files with UTF-8 content
...
Some files that this script will process might have UTF-8 items in
there, which can cause problems on Python 3.x as it is more strict and
careful on unicode issues.
Fix this by:
-Doing what we did before on Python 2.x
-Opening the file with encoding='utf-8' on Python 3.x
2017-05-09 18:37:20 -07:00
Matthias Clasen
a3b852e9ac
3.22.13
2017-05-09 14:01:57 -04:00
Matthias Clasen
2b0eafb8dc
Fix the build
...
It seems that new gtk-doc doesn't like this variable,
so drop it.
2017-05-09 14:01:57 -04:00
Jonas Ådahl
d8bb38588a
GtkWindow: Don't double free export user data
...
The user data passed when exporting a Wayland window was supposed to be
freed using the destroy_func, as is commonly done. This was previously
broken, as the user data was just NULL:ed when exported, and only
actually destroyed when unexporting before having exported.
While e016d9a5db
fixed this, it introduced
a regression, as GtkWindow was nice enough to free the memory anyway
after having received the exported handle, causing it now to double
free.
https://bugzilla.gnome.org/show_bug.cgi?id=782109
2017-05-09 23:19:20 +08:00
Emmanuele Bassi
eba10161c1
build: Disable deprecation warnings in broadway
...
Avoid compiler warnings while building code that uses deprecated API.
2017-05-09 14:30:40 +01:00
Emmanuele Bassi
a7db887c0b
Specify more options to sassc
...
We should use the compact style, to minimize the whitespace; and we
should omit the source map URL comment as well.
2017-05-09 14:23:14 +01:00
Emmanuele Bassi
5376fa36a8
build: De-duplicate options to sassc
...
If we want to change the list of options we use with sassc, not having
to copy-paste them in multiple rules would be a good start.
2017-05-09 14:23:09 +01:00
Emmanuele Bassi
dc471fa258
build: Enable subdir-objects
...
Like we did in the master branch.
Using subdir-objects removes the forward compatibility warnings coming
from autotools.
2017-05-09 14:19:51 +01:00
Emmanuele Bassi
d237b255f9
build: Remove unused rules
...
The foreign drawing example was moved to the GTK demos.
2017-05-09 14:19:51 +01:00
Emmanuele Bassi
d9e0ea2905
build: Don't include the marshallers header file
...
We used to inject the inclusion of the generated header file into the
generated body of the marshallers source code in order to avoid compiler
warnings about missing prototypes. The glib-genmarshal utility has been
fixed in GLib to include the prototype in the generated source, so now
we're going to trip -Werror=redundant-decls.
2017-05-09 14:19:51 +01:00
Lapo Calamandrei
01a94a06e7
Adwaita: regenerate css
2017-05-09 13:32:56 +02:00
Lapo Calamandrei
9f402d15bc
Adwaita: add a comment
...
Add a comment pointing to the related bug for the dropdown menu
margin.
2017-05-09 13:31:31 +02:00
Lapo Calamandrei
3e48a80d85
Revert "Adwaita: remove unneeded margin on dropdown menu"
...
This reverts commit bb1679b247
.
The margin was actually related to:
https://bugzilla.gnome.org/show_bug.cgi?id=591258
2017-05-09 13:30:23 +02:00
Lapo Calamandrei
5336998bee
Revert "Adwaita: regenerate the css"
...
This reverts commit f2f09b9574
.
2017-05-09 13:30:23 +02:00
Olof-Joachim Frahm
c05c78f9c9
Make sure to remove tooltip timeout.
...
Otherwise in GC-ed environments the `g_source_remove` call during
disposal might be called on an already removed source, which results in
unnecessary console output.
https://bugzilla.gnome.org/show_bug.cgi?id=778301
2017-05-09 06:55:21 -04:00
Lapo Calamandrei
f2f09b9574
Adwaita: regenerate the css
2017-05-09 12:50:49 +02:00
Lapo Calamandrei
bb1679b247
Adwaita: remove unneeded margin on dropdown menu
...
That margin was probably a left over to workaround some placement
issue on dropdowns which doesn't exist anymore.
2017-05-09 12:49:10 +02:00
Gianvito Cavasoli
853ce80137
Update Italian translation
2017-05-09 08:48:31 +00:00
Jonas Ådahl
31c72bd7df
GdkWaylandWindow: Unexport when finalizing
...
The application might not have exported, and it'll be too late for it
at this point anyway, so lets be helpful and not leak it.
https://bugzilla.gnome.org/show_bug.cgi?id=782109
2017-05-09 10:16:32 +08:00
Timm Bäder
f3f71ef0ac
box: Initialize size arrays to 0
...
Thats the right thing to do.
https://bugzilla.gnome.org/show_bug.cgi?id=773814
2017-05-08 18:03:26 -04:00
Jakub Steiner
dfe993ff1d
style entry-tags
...
https://bugzilla.gnome.org/show_bug.cgi?id=781214
2017-05-08 17:55:29 -04:00
Jonas Ådahl
64312d79f7
wayland: Remove self assignment
...
Don't assign the value of a variable to itself. It was added just for
clarity, but it makes coverity complain, so remove it.
https://bugzilla.gnome.org/show_bug.cgi?id=780301
2017-05-08 17:51:41 -04:00
Jonas Ådahl
6f326a71d4
wayland: Use correct enum type and values
...
Use the gravity enum values when converting to gravity. It doesn't fix
anything, since the enum values were identical, but it makes a coverity
warning go away.
https://bugzilla.gnome.org/show_bug.cgi?id=780301
2017-05-08 17:51:30 -04:00
Matthias Clasen
0f929fb6e3
file filter: Be save against NULL
...
g_content_type_from_mime_type may return NULL, deal with that.
https://bugzilla.gnome.org/show_bug.cgi?id=782180
2017-05-08 16:39:20 -04:00
Matthias Clasen
7c66c68f48
Revert "GdkWaylandWindow: Unexport when finalizing"
...
This reverts commit ab4e4bd3ae
.
2017-05-08 16:00:49 -04:00