| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The conversion was done by guard2one.
|
| |
|
|
|
|
|
| |
This is just an internal cleanup, to make gtkmain.c
a bit less messy.
|
| |
|
|
|
|
|
|
|
|
| |
We have event controller apis to replace these.
There is one remaining use of gtk_get_current_event_time
in gtkwindow.c, so we can't drop the implementation yet.
Add a section in the migration guide for this.
|
|
|
|
|
| |
The only form in which we still allow grabs to take place
is with modal toplevels.
|
|
|
|
| |
Another grab-related api that we are not using.
|
|
|
|
| |
We were not using this api at all, so lets drop it.
|
|
|
|
|
| |
This is non-essential convenience API, and we
don't really expose events to applications anymore.
|
|
|
|
|
| |
Events are refcounted structs, and we generally don't
pass these as const.
|
|
|
|
| |
This is no longer used.
|
|
|
|
|
|
| |
This is not a very useful api, and if you need it,
you can just as easily keep track yourself which thread
called gtk_init().
|
|
|
|
|
| |
The alternatives are to use GtkApplication,
or use GMainContext.
|
|
|
|
|
| |
This api isn't useful without gtk_main, which is also
on the way out.
|
|
|
|
|
|
| |
This function and its cousin, gtk_main_iteration_do, are
thin wrappers around GMainContext api that should just
be used directly.
|
|
|
|
|
| |
This was just a thin wrapper around gtk_main_context_pending,
which should be used directly instead.
|
|
|
|
|
| |
This is not a function that can be safely called
outside of GTK.
|
| |
|
|
|
|
|
|
|
| |
This works just fine, now that drop targets are
event controllers. There is only a very vestigial
gtk_drag_dest_handle_event() left that deals with
corner cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
g-ir-scanner incorrectly evaluates macro definition that include
references to other macro definitions. Provide a correct value as an
annotation.
Differences in generated gir files:
```diff
@@ -19017 +19017 @@
- <constant name="PRIORITY_REDRAW" value="20" c:type="GDK_PRIORITY_REDRAW">
+ <constant name="PRIORITY_REDRAW" value="120" c:type="GDK_PRIORITY_REDRAW">
@@ -74229,3 +74229,3 @@
</constant>
- <constant name="PRIORITY_RESIZE" value="10" c:type="GTK_PRIORITY_RESIZE">
+ <constant name="PRIORITY_RESIZE" value="110" c:type="GTK_PRIORITY_RESIZE">
<doc xml:space="preserve">Use this priority for functionality related to size allocation.
@@ -106786,3 +106786,3 @@
<constant name="TEXT_VIEW_PRIORITY_VALIDATE"
- value="5"
+ value="125"
c:type="GTK_TEXT_VIEW_PRIORITY_VALIDATE">
```
See !472
|
|
|
|
|
| |
This utility function can be useful to know which thread was initialized for
GTK+.
|
|
|
|
|
| |
This utility function can be useful to check whether GTK+ was already
initialized or not.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
These functions are entirely trivial, their documentation
is much longer than their implementation, and it contains
an example that is annotated as "don't do this"...
|
| |
|
| |
|
|
|
|
|
| |
This can be used on grabbing situations to determine the target of
the event. This mainly matters for GtkMenu.
|
|
|
|
|
|
|
|
|
| |
gtk_init() removed its support for supporting arguments, so we ought to do
likewise for Windows, which actually defines items that call gtk_init()
the old way (and also get rid of argument support in those functions,
since the direction is to not support them).
https://bugzilla.gnome.org/show_bug.cgi?id=773299
|
|
|
|
|
| |
This is our ultimate goal: no more commandline argument handling.
Lots of callers will have to be updated.
|
|
|
|
|
| |
We want to get rid of commandline option handling in GTK+.
This is a step in that direction.
|
|
|
|
|
| |
We want to stop handling commandline arguments, and that is the
sole purpose of this function. So it has to go
|
|
|
|
|
|
| |
We want to simplify our initialization code and remove all commandline
argument handling from it. The first stop for this is to reduce the
number of gtk_init variants we have.
|
|
|
|
|
| |
These are not really useful, and were added long ago
as a clutch for transitioning to the new names.
|
| |
|
|
|
|
|
|
|
|
|
| |
Without this information introspection-based consumers don't realize
they can include context information, but instead think that they
receive an extra gpointer argument (which they don't know how to
handle).
https://bugzilla.gnome.org/show_bug.cgi?id=730745
|
|
|
|
|
|
| |
These were added to the header by mistake in a recent commit.
They have no implementation, so dropping them won't cause
any harm.
|
|
|
|
|
|
|
|
| |
This function can be used in the rare cases where the locale
has to be changed after gtk_init(). Based on a patch
by Jehan <jehan@girinstud.io>.
https://bugzilla.gnome.org/show_bug.cgi?id=720096
|
|
|
|
| |
Add annotations to all exported functions in GTK+ headers.
|
|
|
|
|
|
| |
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
|
| |
|
|
|
|
|
|
|
| |
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers
by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
in 3.2 and 3.4.
|
|
|
|
|
| |
If we use just G_GNUC_DEPRECATED then it cannot be disabled by
an ifdef.
|
|
|
|
|
| |
You really shouldn't be doing this. If you have to, you can use
gdk_window_add_filter() or listen to raw events on XI2.
|
| |
|
|
|
|
|
|
|
|
| |
At the same time, introduce a gtkmainprivate.h header
and various other cleanups.
Based on a patch by Tadej Borovšak.
https://bugzilla.gnome.org/show_bug.cgi?id=617471
|
|
|
|
|
|
| |
Based on patches by Javier Jardón.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
|
| |
|
|
|
|
|
|
| |
These functions were essentially just calling setlocale anyway.
The X11 version was also setting a gdk_use_mb variable that
is not used anywhere.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=629955
|
|
|
|
|
|
| |
This functions are going to be removed in GTK+ 3.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
|