| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Stop loading modules. We still support print backends
and immodules, but general-purpose modules are going away.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This exists to exit early for invisible lines. It attempts to use the
LineDisplay’s direction to create a corresponding PangoLayout. However,
the dir is not yet set by this point, & the display was new0()d, so its
dir is always 0 == TEXT_DIR_NONE. Thus, we always create an LTR layout.
Whatever the original intent, this outcome seems to be OK, so let’s make
the code say what it means, rather than using a misleading conditional.
https://bugzilla.gnome.org/show_bug.cgi?id=779099
|
|
|
|
|
|
| |
Use the same code we have in gtk-3-22 to deal with strftime()
not supporting %OB, and avoid compiler warnings for non-literal
format strings.
|
|
|
|
|
|
|
|
|
| |
All remaining users of that vfunc now implement snapshot using cairo
render nodes (win32 and radial).
Also, GtkCssImageClass.snapshot is now NULL, so if a subclass doesn't
implement it, it will now crash.
Previously it would try to call the draw vfunc.
|
|
|
|
|
|
|
| |
This way, we avoid a 1px border at the bottom of the actual searchbar
widget and move it instead to the child of a GtkRevealer. Since we can
now use widgets with 0px height, we finally get rid of the 1px border
that was drawn even if the searchbar child was hidden.
|
|
|
|
| |
The immodule variable is unused
|
|
|
|
|
|
| |
Don't use the current layout size as minimum size anymore, that doesn't
make sense. Also move the code from size_request() from gtk2 into the
now current measure() function.
|
|
|
|
|
|
|
|
|
| |
There's no reason to use a separate file until the format of the file
changes though, as this just means that GTK+ 3.x and GTK+ 4.x
applications would end up showing different bookmarks in the file
chooser.
https://bugzilla.gnome.org/show_bug.cgi?id=793425
|
|
|
|
|
| |
To have more consistency in the name. The same was done in Nautilus in
commit https://gitlab.gnome.org/GNOME/nautilus/commit/27b039b37c1149fc8abbef6a683dd939e6f2bf1f.
|
|\
| |
| |
| |
| |
| |
| | |
calendar: Use the new "%OB" format in strftime()
Closes #9
See merge request GNOME/gtk!10
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Due to the recent changes introduced in glibc 2.27 "%OB" is the
correct format to obtain a month name as used in the calendar
header. The same rule has been working in BSD family (including
OS X) since 1990s. This change is simple but makes GTK+ 4.x require
glibc >= 2.27. If this requirement cannot be fulfilled then we must
cherry-pick the full commit cbf118c from gtk-3-22 branch.
Closes: #9
|
|\ \
| |/
|/|
| |
| | |
modules: Add wayland IM implementation
See merge request GNOME/gtk!4
|
| |
| |
| |
| |
| | |
This IM context implementation goes through the gtk-text-input protocol,
leaving up to the compositor the actual interaction with IM engines.
|
| | |
|
|/
|
|
| |
They are not missing, they are snapshot when chaining up.
|
| |
|
|
|
|
|
|
|
|
|
| |
The other method annotations were removed in commit c306e448b32e.
There is no introspected ABI change, as g-ir-scanner would just ignore
the annotation.
This eliminates the last warning when building GTK on Linux.
|
|
|
|
|
|
| |
When building dependencies as subprojects we need to tell the
introspection scanner where to find the introspection data; this
means using GIR targets from the subproject.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Functional revert of commit 9c4892f2915.
Fixes introspection scanner warnings like:
Warning: Gtk: gtk_drag_finish: Methods must belong to the same
namespace as the class they belong to
That is, the gtk_drag_* functions cannot be methods as they have a
"GdkDragContext" as the instance parameter, and that is not a valid
type for the Gtk namespace.
This is not an introspected ABI change, as the generated introspection
data ignores the annotation.
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=692152
|
|
|
|
|
|
| |
Instead of using `--include-uninstalled` in the scanner arguments, we
can tell Meson to use an introspection target, and it'll do the
appropriate thing for us.
|
|
|
|
|
| |
This can happen, as indicated by GtkMenu explicitly connecting to
::destroy of its toplevel window. Do the same thing in GtkComboBox.
|
| |
|
|
|
|
| |
Which is the style we use everywhere else.
|
|
|
|
| |
Stop looking at the box allocation position since both x and y are 0.
|
|
|
|
|
|
|
| |
Contrary to what the comments in this function might suggest, it does
not actually do anything about child positions, child child sizes. So,
packing doesn't matter and we don't need to iterate over all child
widgets twice.
|
|
|
|
|
|
| |
And remove the non-NULL checks for minimum_size and natural_size since
these are non-NULL by definition since this function is only called from
measure().
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also add missing includes and sort them for all the widgets that relied
on that before.
|
|
|
|
|
| |
Clean up all shortcuts includes to only include the necessary files
while we're at it.
|
|
|
|
|
| |
Also fix up gtktypes.h to include the required glib.h for G_BEGIN_DECLS
and gtkdnd.c to include missing includes.
|
| |
|
|
|
|
|
| |
Just like 3d65019e98dabc0e2f443d981590983e618dda44, but for release
events.
|
|
|
|
|
|
| |
Calling gtk_menu_item_get_label on a GtkSeparatorMenuItem would
otherwise create a GtkLabel child, increasing the vertical size request
to that of the child label.
|
|
|
|
|
|
|
| |
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
|
|
|
|
|
|
| |
This way, we get a special no-copy case for resources.
https://bugzilla.gnome.org/show_bug.cgi?id=790270
|
|
|
|
|
| |
This function does bad things, and is not an
API that we want to take into GTK+ 4.
|
|
|
|
| |
If this is a problem, it needs to be handled explicitly.
|
|
|
|
|
|
|
|
| |
Avoid the ugly priv->tool_box==NULL check in ::add (and ::remove) by
just not using template xml for this small class. Also, make sure the
GtkBin child is properly set and implement remove to also properly
remove it. Remove the manual widget margins and add some CSS for it.
Also switch to simply using a GtkCenterBox.
|
|
|
|
|
| |
Since the GtkSearchBar is not the direct parent, we need to remove them
properly from priv->box_center.
|
|
|
|
| |
both box_left and box_right are unused.
|
|
|
|
| |
and the build.
|
|
|
|
| |
We only use the widget pointer here once.
|
|
|
|
|
|
|
| |
According to meson it's the only private header that doesn't conform to
the *private.h naming.
Fix that.
|