- 02 Jun, 2019 1 commit
-
-
Christian Hergert authored
This adds specific marshallers for all of the locations where a generic marshaller is being used. It also provides va_marshallers to reduce the chances that we get stack traces from perf going through ffi_call_unix64. This is forward ported from gtk-3-24. # Conflicts: # gtk/gtkeventcontrollerkey.c # gtk/gtkeventcontrollermotion.c # gtk/gtkgesture.c # gtk/gtkgesturemultipress.c
-
- 01 Jun, 2019 5 commits
-
-
Matthias Clasen authored
Move private api into a private header.
-
Matthias Clasen authored
Remove comments that are old enough to still talk about option menus and item factories.
-
Matthias Clasen authored
No use of GtkArrowPlacement anywhere.
-
Matthias Clasen authored
The menu shell is not a direct parent anymore.
-
Matthias Clasen authored
Now that menubar and menu are containers with internal structure, we need to be careful about doing the right thing in forall and dispose.
-
- 31 May, 2019 17 commits
-
-
Matthias Clasen authored
Left/Right arrow now work again to enter or leave a submenu.
-
Matthias Clasen authored
Home, End, Page Up/Down, work again.
-
Matthias Clasen authored
This gets us most of the way to working scrolling.
-
Matthias Clasen authored
-
Matthias Clasen authored
Make GtkMenuBar use a box as well, and let GtkMenuShell get the items from GtkMenuBar and GtkMenu via a vfunc. Use that to fix the keynav implementation in GtkMenuShell.
-
Matthias Clasen authored
This brings back some support for scrolling. We still need to reinstate some of the scroll-to-selected and keynav functionality.
-
Matthias Clasen authored
This makes some of the GtkMenuShell api no longer work, since we don't let the menu shell code maintain the list of children anymore.
-
Matthias Clasen authored
Nothing should use them anymore.
-
Matthias Clasen authored
This commit removes support for scrolling and for the keep-up triangle from GtkMenu, and gets rid of all use of global coordinates.
-
-
No need to do complicated math when we can just look at the allocation.
-
Returns the parent menu shell or NULL. Replace all calls to gtk_widget_get_parent() with this function.
-
Changes <object class="GtkDialog"> <child internal-child="vbox"> <...> <child internal-child="action_area">...</child> ... </...> <packing /> </child> <object> to <object class="GtkDialog"> <child internal-child="content_area"> <...> ... </...> </child> <child internal-child="action_area">...</child> <object>
-
Matthias Clasen authored
If the gtk-overlay-scrolling setting is FALSE, don't use overlay scrollbars.
-
Matthias Clasen authored
This is in preparation for letting user opt out of overlay scrolling in the control-center.
-
Christian Hergert authored
Similar to previous removals of g_cclosure_marshal_VOID__VOID we can remove other marshallers for which are a simple G_TYPE_NONE with single parameter. In those cases, GLib will setup both a c_marshaller and va_marshaller for us. Before this commit, we would not get a va_marshaller because the c_marshaller is set. Related to Initiatives#10
-
Benjamin Otte authored
The CSS transform should operate on the border-box, not the margin box. So we need to shrink the bounds by the margin before we apply the CSS transform.
-
- 30 May, 2019 6 commits
-
-
Niels De Graef authored
Fixes several warnings by the GIR compiler.
-
Benjamin Otte authored
Use cairo-script-interpreter to parse the scripts that generate cairo nodes. This requires libcairoscriptinterpreter.so to work properly, but if it isn't found we disable this (unimportant for normal functioning) code and just emits a parser warning. The testsuite requires it however or it will fail. A new test is included that tests all of this.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Lubomir Rintel authored
...and its property. Otherwise simplify_element() blows up when looking up the hierarchy to determine a property type. $ gtk4-builder-tool simplify --3to4 /dev/stdin <<EOF > <?xml version="1.0" encoding="UTF-8"?> > <!-- Generated with glade 3.20.2 --> > <interface domain="nm-applet"> > <object class="GtkAssistant"> > <child> > <object class="GtkBox" id="confirm_page"> > </object> > <packing> > <property name="page_type">confirm</property> > <property name="complete">True</property> > </packing> > </child> > </object> > </interface> > EOF /dev/stdin: Packing property GtkAssistant::page_type not found /dev/stdin: Packing property GtkAssistant::complete not found Segmentation fault (core dumped)
-
Lubomir Rintel authored
-
- 29 May, 2019 11 commits
-
-
Matthias Clasen authored
We were deferring the reflow until map, but this leads to the section initially having an enormous height and the window picks up that size before we have a chance to reflow, This could be seen in the "Builder" demo in gtk4-demo. Closes: #11
-
Christian Hergert authored
-
Christian Hergert authored
If we set c_marshaller manually, then g_signal_newv() will not setup a va_marshaller for us. However, if we provide c_marshaller as NULL, it will setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us.
-
Matthias Clasen authored
Remove an unused variable.
-
Matthias Clasen authored
We don't have windowed widgets anymore, and gdk_surface_move_resize is about to go away.
-
Matthias Clasen authored
position_constraints_changed is never used.
-
Matthias Clasen authored
With gtk_window_set_position gone, we should never come up with a new position to set in this code. Leave a warning in place and remove the gdk_surface_move calls.
-
Matthias Clasen authored
gtk_window_constrain_position is not doing anything anymore, so no need to call it.
-
Matthias Clasen authored
need_default_position is never used.
-
Matthias Clasen authored
initial_x/y and initial_pos_set are never used.
-
Matthias Clasen authored
Root coordinates are going away. Stop setting them in crossing events, so we can drop this api.
-