| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
No need to load these as gio modules, we just include
them in libgtk.
|
|
|
|
|
|
|
|
|
|
|
| |
Add an extension point called gtk-im-module, which requires
the type GtkIMContext. Simplify the loading by using GIO
infrastructure. Drop the locale filtering for now, I don't
think it is really necessary nowadays.
Convert existing platform modules to gio modules.
Sill to do: Drop the conditional build machinery.
Either always include them, or never.
|
|
|
|
| |
The papi print backend has been removed.
|
| |
|
| |
|
| |
|
|
|
|
| |
No need for a new_name local variable here.
|
|
|
|
|
|
| |
GRAB_BROKEN events cause the ::cancel handler of the gesture to be
emitted, which is where we also call gtk_button_do_release, so this
GtkWidget::event handler is unnecessary.
|
|
|
|
|
| |
We write 0 to dest_x and dest_y nowadays if the two widgets do not have
a common ancestor.
|
|
|
|
| |
(cherry picked from commit f3f75f62e8e419b2e8cc6fcd243f12ee7b281e7d)
|
|
|
|
| |
(cherry picked from commit 68eb897900b6ca8b5173c9d21ea122db7694069c)
|
|\
| |
| |
| |
| | |
text-view: make measure() use the layout height
See merge request GNOME/gtk!37
|
| |
| |
| |
| |
| |
| | |
GtkTextView::measure should include the height of the text-layout in its
minimum and natural heights. This fixes scrolling when a text-view has a
scrolled-window ancestor that is not its immediate parent.
|
| |
| |
| |
| |
| |
| |
| | |
This reverts 76461a8004caf4490f84140b0551d1f5296241f6.
We don't want to quiet the compiler here because new warnings should be
added to the enum the moment they become available.
|
| |
| |
| |
| |
| | |
Also, guard newer error returns with proper #if, so they don't trip up
older Vulkan versions.
|
| |
| |
| |
| |
| | |
Just use the drag_widget we create before, since GtkWindow drag icons
are not allowed anymore.
|
| |
| |
| |
| | |
lower - upper results in something negative of course.
|
| |
| |
| |
| | |
Print widget class, css node name and address.
|
| |
| |
| |
| |
| | |
Save the x/y we allocated the slider at, which is different than
the coordinates we get from any of the widget allocation accessors.
|
| |
| |
| |
| | |
Instead of outside at every call-site.
|
| |
| |
| |
| |
| | |
This is unnecessary these days due to the negative margins of the
slider.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The given coordinate needs to be trough-relative, since that's what the
slider is relative to. Also use the trough's content size and not the
outer size.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
We have the mouse position available everywhere we want to use it
anyway, so use that instead.
|
| |
| |
| |
| |
| | |
Instead, just use gtk_widget_pick() to get the widget at the pointer
position whenever we need it.
|
| |
| |
| |
| |
| | |
calc_slider() updates the slider visibility, but that can only change if
the upper or lower change.
|
| | |
|
| |
| |
| |
| |
| | |
This is done automatically nowadays since the value is shown in a
widget.
|
|\ \
| |/
|/|
| |
| | |
gitlab-ci: run parts of the test suite
See merge request GNOME/gtk!22
|
| |
| |
| |
| |
| | |
This runs the tests in testsuite/{css,gtk,tools}
All others suites have failing tests and need more work.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Release builds should only disable cast checks, to match what we used
to do back with the Autotools builds.
The Autotools build had an "--enable-debug=no" option, but that was
rarely used; Meson has debug, debugoptimized, release, and plain build
types, but we considered the "release" build types as the old "disable
all debugging code", which is not really accurate.
Disabling assertions and preconditon checks should be left to people
with constrained environments and/or packagers; they are supposed to
use the "plain" build type, and override the CFLAGS themselves.
|
| |
| |
| |
| |
| | |
Instead of checking each flag one by one, use the appropriate method of
the Meson compiler object.
|
| |
| |
| |
| |
| | |
This was just dead code. The actual modules have already
been removed.
|
|\ \
| |/
|/|
| |
| | |
gtk_init: Fix debug flags handling when a display is already open
See merge request GNOME/gtk!27
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The code assigning the display to the debug_flags struct gets only
called when the default display changes, which never happens
when there already is one.
This makes it call the change callback in case a display is already
there.
The same fix was applied to gtk3 in !26 where calling gdk_init()
before gtk_init() would trigger this case. With gdk_init() gone
in master this is less likely to happen, but still possible
if gdk_display_open() is called before gtk_init().
See https://gitlab.gnome.org/GNOME/pygobject/issues/166
|
|\ \
| |/
|/|
| |
| | |
tests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dir
See merge request GNOME/gtk!21
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With autotools the schemas were compiled into each test suite directory
and the tests set GSETTINGS_SCHEMA_DIR to the test build directory.
With meson's gnome.compile_schemas() we can not define a target directory
so just make sure it is built in the gtk directory and set GSETTINGS_SCHEMA_DIR
to the gtk build directory when running the tests.
This makes the gtk+:gtk suite pass when no gtk is installed on the system.
|
| |
| |
| |
| | |
No more callers of _gtk_find_module.
|
| |
| |
| |
| |
| | |
The variable is a leftover from when we were not using the
G_DEFINE_DYNAMIC_TYPE macro.
|
| |
| |
| |
| | |
Typos and re-declared functions.
|
| |
| |
| |
| |
| | |
Some copy-and-paste from the CUPS print backend broke the build on
Continuous, where CUPS does not exist.
|
| |
| |
| |
| | |
The enabled print backends are a boolean, not a 'yes/no' string.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Use GIOModule and GIOExtensionPoint. This is the preferred
way to define extensions these days, instead of manually
implementing type modules.
|