Merge pull request #349 from bnema/fix/rollback-lazy-puregotk
fix(deps): emergency rollback puregotk lazy registration regression
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/gdk" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/glib" | |
| @@ -93,7 +94,6 @@ type TabBar struct { | |||
| 93 | 94 | var xTabBarGLibType func() types.GType | |
| 94 | 95 | ||
| 95 | 96 | func TabBarGLibType() types.GType { | |
| 96 | - | core.LazyRegister(&xTabBarGLibType, "ADW", "adw_tab_bar_get_type", false) | |
| 97 | 97 | return xTabBarGLibType() | |
| 98 | 98 | } | |
| 99 | 99 | ||
| @@ -107,7 +107,6 @@ var xNewTabBar func() uintptr | |||
| 107 | 107 | ||
| 108 | 108 | // Creates a new `AdwTabBar`. | |
| 109 | 109 | func NewTabBar() *TabBar { | |
| 110 | - | core.LazyRegister(&xNewTabBar, "ADW", "adw_tab_bar_new", false) | |
| 111 | 110 | var cls *TabBar | |
| 112 | 111 | ||
| 113 | 112 | cret := xNewTabBar() | |
| @@ -125,8 +124,6 @@ var xTabBarGetAutohide func(uintptr) bool | |||
| 125 | 124 | ||
| 126 | 125 | // Gets whether the tabs automatically hide. | |
| 127 | 126 | func (x *TabBar) GetAutohide() bool { | |
| 128 | - | core.LazyRegister(&xTabBarGetAutohide, "ADW", "adw_tab_bar_get_autohide", false) | |
| 129 | - | ||
| 130 | 127 | cret := xTabBarGetAutohide(x.GoPointer()) | |
| 131 | 128 | return cret | |
| 132 | 129 | } | |
| @@ -135,7 +132,6 @@ var xTabBarGetEndActionWidget func(uintptr) uintptr | |||
| 135 | 132 | ||
| 136 | 133 | // Gets the widget shown after the tabs. | |
| 137 | 134 | func (x *TabBar) GetEndActionWidget() *gtk.Widget { | |
| 138 | - | core.LazyRegister(&xTabBarGetEndActionWidget, "ADW", "adw_tab_bar_get_end_action_widget", false) | |
| 139 | 135 | var cls *gtk.Widget | |
| 140 | 136 | ||
| 141 | 137 | cret := xTabBarGetEndActionWidget(x.GoPointer()) | |
| @@ -153,8 +149,6 @@ var xTabBarGetExpandTabs func(uintptr) bool | |||
| 153 | 149 | ||
| 154 | 150 | // Gets whether tabs expand to full width. | |
| 155 | 151 | func (x *TabBar) GetExpandTabs() bool { | |
| 156 | - | core.LazyRegister(&xTabBarGetExpandTabs, "ADW", "adw_tab_bar_get_expand_tabs", false) | |
| 157 | - | ||
| 158 | 152 | cret := xTabBarGetExpandTabs(x.GoPointer()) | |
| 159 | 153 | return cret | |
| 160 | 154 | } | |
| @@ -169,8 +163,6 @@ var xTabBarGetExtraDragPreferredAction func(uintptr) gdk.DragAction | |||
| 169 | 163 | // The action will be a subset of what was originally passed to | |
| 170 | 164 | // [method@TabBar.setup_extra_drop_target]. | |
| 171 | 165 | func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction { | |
| 172 | - | core.LazyRegister(&xTabBarGetExtraDragPreferredAction, "ADW", "adw_tab_bar_get_extra_drag_preferred_action", false) | |
| 173 | - | ||
| 174 | 166 | cret := xTabBarGetExtraDragPreferredAction(x.GoPointer()) | |
| 175 | 167 | return cret | |
| 176 | 168 | } | |
| @@ -179,8 +171,6 @@ var xTabBarGetExtraDragPreload func(uintptr) bool | |||
| 179 | 171 | ||
| 180 | 172 | // Gets whether drop data should be preloaded on hover. | |
| 181 | 173 | func (x *TabBar) GetExtraDragPreload() bool { | |
| 182 | - | core.LazyRegister(&xTabBarGetExtraDragPreload, "ADW", "adw_tab_bar_get_extra_drag_preload", false) | |
| 183 | - | ||
| 184 | 174 | cret := xTabBarGetExtraDragPreload(x.GoPointer()) | |
| 185 | 175 | return cret | |
| 186 | 176 | } | |
| @@ -189,8 +179,6 @@ var xTabBarGetInverted func(uintptr) bool | |||
| 189 | 179 | ||
| 190 | 180 | // Gets whether tabs use inverted layout. | |
| 191 | 181 | func (x *TabBar) GetInverted() bool { | |
| 192 | - | core.LazyRegister(&xTabBarGetInverted, "ADW", "adw_tab_bar_get_inverted", false) | |
| 193 | - | ||
| 194 | 182 | cret := xTabBarGetInverted(x.GoPointer()) | |
| 195 | 183 | return cret | |
| 196 | 184 | } | |
| @@ -201,8 +189,6 @@ var xTabBarGetIsOverflowing func(uintptr) bool | |||
| 201 | 189 | // | |
| 202 | 190 | // If `TRUE`, all tabs cannot be displayed at once and require scrolling. | |
| 203 | 191 | func (x *TabBar) GetIsOverflowing() bool { | |
| 204 | - | core.LazyRegister(&xTabBarGetIsOverflowing, "ADW", "adw_tab_bar_get_is_overflowing", false) | |
| 205 | - | ||
| 206 | 192 | cret := xTabBarGetIsOverflowing(x.GoPointer()) | |
| 207 | 193 | return cret | |
| 208 | 194 | } | |
| @@ -211,7 +197,6 @@ var xTabBarGetStartActionWidget func(uintptr) uintptr | |||
| 211 | 197 | ||
| 212 | 198 | // Gets the widget shown before the tabs. | |
| 213 | 199 | func (x *TabBar) GetStartActionWidget() *gtk.Widget { | |
| 214 | - | core.LazyRegister(&xTabBarGetStartActionWidget, "ADW", "adw_tab_bar_get_start_action_widget", false) | |
| 215 | 200 | var cls *gtk.Widget | |
| 216 | 201 | ||
| 217 | 202 | cret := xTabBarGetStartActionWidget(x.GoPointer()) | |
| @@ -231,8 +216,6 @@ var xTabBarGetTabsRevealed func(uintptr) bool | |||
| 231 | 216 | // | |
| 232 | 217 | // See [property@TabBar:autohide]. | |
| 233 | 218 | func (x *TabBar) GetTabsRevealed() bool { | |
| 234 | - | core.LazyRegister(&xTabBarGetTabsRevealed, "ADW", "adw_tab_bar_get_tabs_revealed", false) | |
| 235 | - | ||
| 236 | 219 | cret := xTabBarGetTabsRevealed(x.GoPointer()) | |
| 237 | 220 | return cret | |
| 238 | 221 | } | |
| @@ -241,7 +224,6 @@ var xTabBarGetView func(uintptr) uintptr | |||
| 241 | 224 | ||
| 242 | 225 | // Gets the tab view @self controls. | |
| 243 | 226 | func (x *TabBar) GetView() *TabView { | |
| 244 | - | core.LazyRegister(&xTabBarGetView, "ADW", "adw_tab_bar_get_view", false) | |
| 245 | 227 | var cls *TabView | |
| 246 | 228 | ||
| 247 | 229 | cret := xTabBarGetView(x.GoPointer()) | |
| @@ -264,8 +246,6 @@ var xTabBarSetAutohide func(uintptr, bool) | |||
| 264 | 246 | // | |
| 265 | 247 | // See [property@TabBar:tabs-revealed]. | |
| 266 | 248 | func (x *TabBar) SetAutohide(AutohideVar bool) { | |
| 267 | - | core.LazyRegister(&xTabBarSetAutohide, "ADW", "adw_tab_bar_set_autohide", false) | |
| 268 | - | ||
| 269 | 249 | xTabBarSetAutohide(x.GoPointer(), AutohideVar) | |
| 270 | 250 | } | |
| 271 | 251 | ||
| @@ -273,8 +253,6 @@ var xTabBarSetEndActionWidget func(uintptr, uintptr) | |||
| 273 | 253 | ||
| 274 | 254 | // Sets the widget to show after the tabs. | |
| 275 | 255 | func (x *TabBar) SetEndActionWidget(WidgetVar *gtk.Widget) { | |
| 276 | - | core.LazyRegister(&xTabBarSetEndActionWidget, "ADW", "adw_tab_bar_set_end_action_widget", false) | |
| 277 | - | ||
| 278 | 256 | xTabBarSetEndActionWidget(x.GoPointer(), WidgetVar.GoPointer()) | |
| 279 | 257 | } | |
| 280 | 258 | ||
| @@ -285,8 +263,6 @@ var xTabBarSetExpandTabs func(uintptr, bool) | |||
| 285 | 263 | // If set to `TRUE`, the tabs will always vary width filling the whole width | |
| 286 | 264 | // when possible, otherwise tabs will always have the minimum possible size. | |
| 287 | 265 | func (x *TabBar) SetExpandTabs(ExpandTabsVar bool) { | |
| 288 | - | core.LazyRegister(&xTabBarSetExpandTabs, "ADW", "adw_tab_bar_set_expand_tabs", false) | |
| 289 | - | ||
| 290 | 266 | xTabBarSetExpandTabs(x.GoPointer(), ExpandTabsVar) | |
| 291 | 267 | } | |
| 292 | 268 | ||
| @@ -296,8 +272,6 @@ var xTabBarSetExtraDragPreload func(uintptr, bool) | |||
| 296 | 272 | // | |
| 297 | 273 | // See [property@Gtk.DropTarget:preload]. | |
| 298 | 274 | func (x *TabBar) SetExtraDragPreload(PreloadVar bool) { | |
| 299 | - | core.LazyRegister(&xTabBarSetExtraDragPreload, "ADW", "adw_tab_bar_set_extra_drag_preload", false) | |
| 300 | - | ||
| 301 | 275 | xTabBarSetExtraDragPreload(x.GoPointer(), PreloadVar) | |
| 302 | 276 | } | |
| 303 | 277 | ||
| @@ -308,8 +282,6 @@ var xTabBarSetInverted func(uintptr, bool) | |||
| 308 | 282 | // If set to `TRUE`, non-pinned tabs will have the close button at the beginning | |
| 309 | 283 | // and the indicator at the end rather than the opposite. | |
| 310 | 284 | func (x *TabBar) SetInverted(InvertedVar bool) { | |
| 311 | - | core.LazyRegister(&xTabBarSetInverted, "ADW", "adw_tab_bar_set_inverted", false) | |
| 312 | - | ||
| 313 | 285 | xTabBarSetInverted(x.GoPointer(), InvertedVar) | |
| 314 | 286 | } | |
| 315 | 287 | ||
| @@ -317,8 +289,6 @@ var xTabBarSetStartActionWidget func(uintptr, uintptr) | |||
| 317 | 289 | ||
| 318 | 290 | // Sets the widget to show before the tabs. | |
| 319 | 291 | func (x *TabBar) SetStartActionWidget(WidgetVar *gtk.Widget) { | |
| 320 | - | core.LazyRegister(&xTabBarSetStartActionWidget, "ADW", "adw_tab_bar_set_start_action_widget", false) | |
| 321 | - | ||
| 322 | 292 | xTabBarSetStartActionWidget(x.GoPointer(), WidgetVar.GoPointer()) | |
| 323 | 293 | } | |
| 324 | 294 | ||
| @@ -326,8 +296,6 @@ var xTabBarSetView func(uintptr, uintptr) | |||
| 326 | 296 | ||
| 327 | 297 | // Sets the tab view @self controls. | |
| 328 | 298 | func (x *TabBar) SetView(ViewVar *TabView) { | |
| 329 | - | core.LazyRegister(&xTabBarSetView, "ADW", "adw_tab_bar_set_view", false) | |
| 330 | - | ||
| 331 | 299 | xTabBarSetView(x.GoPointer(), ViewVar.GoPointer()) | |
| 332 | 300 | } | |
| 333 | 301 | ||
| @@ -343,8 +311,6 @@ var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, []types.GType, uin | |||
| 343 | 311 | // | |
| 344 | 312 | // The [signal@TabBar::extra-drag-drop] signal can be used to handle the drop. | |
| 345 | 313 | func (x *TabBar) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar []types.GType, NTypesVar uint) { | |
| 346 | - | core.LazyRegister(&xTabBarSetupExtraDropTarget, "ADW", "adw_tab_bar_setup_extra_drop_target", false) | |
| 347 | - | ||
| 348 | 314 | xTabBarSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar) | |
| 349 | 315 | } | |
| 350 | 316 | ||
| @@ -799,4 +765,35 @@ func (x *TabBar) GetBuildableId() string { | |||
| 799 | 765 | func init() { | |
| 800 | 766 | core.SetPackageName("ADW", "libadwaita-1") | |
| 801 | 767 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 768 | + | var libs []uintptr | |
| 769 | + | for _, libPath := range core.GetPaths("ADW") { | |
| 770 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 771 | + | if err != nil { | |
| 772 | + | panic(err) | |
| 773 | + | } | |
| 774 | + | libs = append(libs, lib) | |
| 775 | + | } | |
| 776 | + | ||
| 777 | + | core.PuregoSafeRegister(&xTabBarGLibType, libs, "adw_tab_bar_get_type") | |
| 778 | + | ||
| 779 | + | core.PuregoSafeRegister(&xNewTabBar, libs, "adw_tab_bar_new") | |
| 780 | + | ||
| 781 | + | core.PuregoSafeRegister(&xTabBarGetAutohide, libs, "adw_tab_bar_get_autohide") | |
| 782 | + | core.PuregoSafeRegister(&xTabBarGetEndActionWidget, libs, "adw_tab_bar_get_end_action_widget") | |
| 783 | + | core.PuregoSafeRegister(&xTabBarGetExpandTabs, libs, "adw_tab_bar_get_expand_tabs") | |
| 784 | + | core.PuregoSafeRegister(&xTabBarGetExtraDragPreferredAction, libs, "adw_tab_bar_get_extra_drag_preferred_action") | |
| 785 | + | core.PuregoSafeRegister(&xTabBarGetExtraDragPreload, libs, "adw_tab_bar_get_extra_drag_preload") | |
| 786 | + | core.PuregoSafeRegister(&xTabBarGetInverted, libs, "adw_tab_bar_get_inverted") | |
| 787 | + | core.PuregoSafeRegister(&xTabBarGetIsOverflowing, libs, "adw_tab_bar_get_is_overflowing") | |
| 788 | + | core.PuregoSafeRegister(&xTabBarGetStartActionWidget, libs, "adw_tab_bar_get_start_action_widget") | |
| 789 | + | core.PuregoSafeRegister(&xTabBarGetTabsRevealed, libs, "adw_tab_bar_get_tabs_revealed") | |
| 790 | + | core.PuregoSafeRegister(&xTabBarGetView, libs, "adw_tab_bar_get_view") | |
| 791 | + | core.PuregoSafeRegister(&xTabBarSetAutohide, libs, "adw_tab_bar_set_autohide") | |
| 792 | + | core.PuregoSafeRegister(&xTabBarSetEndActionWidget, libs, "adw_tab_bar_set_end_action_widget") | |
| 793 | + | core.PuregoSafeRegister(&xTabBarSetExpandTabs, libs, "adw_tab_bar_set_expand_tabs") | |
| 794 | + | core.PuregoSafeRegister(&xTabBarSetExtraDragPreload, libs, "adw_tab_bar_set_extra_drag_preload") | |
| 795 | + | core.PuregoSafeRegister(&xTabBarSetInverted, libs, "adw_tab_bar_set_inverted") | |
| 796 | + | core.PuregoSafeRegister(&xTabBarSetStartActionWidget, libs, "adw_tab_bar_set_start_action_widget") | |
| 797 | + | core.PuregoSafeRegister(&xTabBarSetView, libs, "adw_tab_bar_set_view") | |
| 798 | + | core.PuregoSafeRegister(&xTabBarSetupExtraDropTarget, libs, "adw_tab_bar_setup_extra_drop_target") | |
| 802 | 799 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/gdk" | 10 | "github.com/bnema/puregotk/v4/gdk" | ||
| 10 | "github.com/bnema/puregotk/v4/glib" | 11 | "github.com/bnema/puregotk/v4/glib" | ||
| @@ -93,7 +94,6 @@ type TabBar struct { | |||||
| 93 | var xTabBarGLibType func() types.GType | 94 | var xTabBarGLibType func() types.GType | ||
| 94 | 95 | ||||
| 95 | func TabBarGLibType() types.GType { | 96 | func TabBarGLibType() types.GType { | ||
| 96 | - | core.LazyRegister(&xTabBarGLibType, "ADW", "adw_tab_bar_get_type", false) | |||
| 97 | return xTabBarGLibType() | 97 | return xTabBarGLibType() | ||
| 98 | } | 98 | } | ||
| 99 | 99 | ||||
| @@ -107,7 +107,6 @@ var xNewTabBar func() uintptr | |||||
| 107 | 107 | ||||
| 108 | // Creates a new `AdwTabBar`. | 108 | // Creates a new `AdwTabBar`. | ||
| 109 | func NewTabBar() *TabBar { | 109 | func NewTabBar() *TabBar { | ||
| 110 | - | core.LazyRegister(&xNewTabBar, "ADW", "adw_tab_bar_new", false) | |||
| 111 | var cls *TabBar | 110 | var cls *TabBar | ||
| 112 | 111 | ||||
| 113 | cret := xNewTabBar() | 112 | cret := xNewTabBar() | ||
| @@ -125,8 +124,6 @@ var xTabBarGetAutohide func(uintptr) bool | |||||
| 125 | 124 | ||||
| 126 | // Gets whether the tabs automatically hide. | 125 | // Gets whether the tabs automatically hide. | ||
| 127 | func (x *TabBar) GetAutohide() bool { | 126 | func (x *TabBar) GetAutohide() bool { | ||
| 128 | - | core.LazyRegister(&xTabBarGetAutohide, "ADW", "adw_tab_bar_get_autohide", false) | |||
| 129 | - | ||||
| 130 | cret := xTabBarGetAutohide(x.GoPointer()) | 127 | cret := xTabBarGetAutohide(x.GoPointer()) | ||
| 131 | return cret | 128 | return cret | ||
| 132 | } | 129 | } | ||
| @@ -135,7 +132,6 @@ var xTabBarGetEndActionWidget func(uintptr) uintptr | |||||
| 135 | 132 | ||||
| 136 | // Gets the widget shown after the tabs. | 133 | // Gets the widget shown after the tabs. | ||
| 137 | func (x *TabBar) GetEndActionWidget() *gtk.Widget { | 134 | func (x *TabBar) GetEndActionWidget() *gtk.Widget { | ||
| 138 | - | core.LazyRegister(&xTabBarGetEndActionWidget, "ADW", "adw_tab_bar_get_end_action_widget", false) | |||
| 139 | var cls *gtk.Widget | 135 | var cls *gtk.Widget | ||
| 140 | 136 | ||||
| 141 | cret := xTabBarGetEndActionWidget(x.GoPointer()) | 137 | cret := xTabBarGetEndActionWidget(x.GoPointer()) | ||
| @@ -153,8 +149,6 @@ var xTabBarGetExpandTabs func(uintptr) bool | |||||
| 153 | 149 | ||||
| 154 | // Gets whether tabs expand to full width. | 150 | // Gets whether tabs expand to full width. | ||
| 155 | func (x *TabBar) GetExpandTabs() bool { | 151 | func (x *TabBar) GetExpandTabs() bool { | ||
| 156 | - | core.LazyRegister(&xTabBarGetExpandTabs, "ADW", "adw_tab_bar_get_expand_tabs", false) | |||
| 157 | - | ||||
| 158 | cret := xTabBarGetExpandTabs(x.GoPointer()) | 152 | cret := xTabBarGetExpandTabs(x.GoPointer()) | ||
| 159 | return cret | 153 | return cret | ||
| 160 | } | 154 | } | ||
| @@ -169,8 +163,6 @@ var xTabBarGetExtraDragPreferredAction func(uintptr) gdk.DragAction | |||||
| 169 | // The action will be a subset of what was originally passed to | 163 | // The action will be a subset of what was originally passed to | ||
| 170 | // [method@TabBar.setup_extra_drop_target]. | 164 | // [method@TabBar.setup_extra_drop_target]. | ||
| 171 | func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction { | 165 | func (x *TabBar) GetExtraDragPreferredAction() gdk.DragAction { | ||
| 172 | - | core.LazyRegister(&xTabBarGetExtraDragPreferredAction, "ADW", "adw_tab_bar_get_extra_drag_preferred_action", false) | |||
| 173 | - | ||||
| 174 | cret := xTabBarGetExtraDragPreferredAction(x.GoPointer()) | 166 | cret := xTabBarGetExtraDragPreferredAction(x.GoPointer()) | ||
| 175 | return cret | 167 | return cret | ||
| 176 | } | 168 | } | ||
| @@ -179,8 +171,6 @@ var xTabBarGetExtraDragPreload func(uintptr) bool | |||||
| 179 | 171 | ||||
| 180 | // Gets whether drop data should be preloaded on hover. | 172 | // Gets whether drop data should be preloaded on hover. | ||
| 181 | func (x *TabBar) GetExtraDragPreload() bool { | 173 | func (x *TabBar) GetExtraDragPreload() bool { | ||
| 182 | - | core.LazyRegister(&xTabBarGetExtraDragPreload, "ADW", "adw_tab_bar_get_extra_drag_preload", false) | |||
| 183 | - | ||||
| 184 | cret := xTabBarGetExtraDragPreload(x.GoPointer()) | 174 | cret := xTabBarGetExtraDragPreload(x.GoPointer()) | ||
| 185 | return cret | 175 | return cret | ||
| 186 | } | 176 | } | ||
| @@ -189,8 +179,6 @@ var xTabBarGetInverted func(uintptr) bool | |||||
| 189 | 179 | ||||
| 190 | // Gets whether tabs use inverted layout. | 180 | // Gets whether tabs use inverted layout. | ||
| 191 | func (x *TabBar) GetInverted() bool { | 181 | func (x *TabBar) GetInverted() bool { | ||
| 192 | - | core.LazyRegister(&xTabBarGetInverted, "ADW", "adw_tab_bar_get_inverted", false) | |||
| 193 | - | ||||
| 194 | cret := xTabBarGetInverted(x.GoPointer()) | 182 | cret := xTabBarGetInverted(x.GoPointer()) | ||
| 195 | return cret | 183 | return cret | ||
| 196 | } | 184 | } | ||
| @@ -201,8 +189,6 @@ var xTabBarGetIsOverflowing func(uintptr) bool | |||||
| 201 | // | 189 | // | ||
| 202 | // If `TRUE`, all tabs cannot be displayed at once and require scrolling. | 190 | // If `TRUE`, all tabs cannot be displayed at once and require scrolling. | ||
| 203 | func (x *TabBar) GetIsOverflowing() bool { | 191 | func (x *TabBar) GetIsOverflowing() bool { | ||
| 204 | - | core.LazyRegister(&xTabBarGetIsOverflowing, "ADW", "adw_tab_bar_get_is_overflowing", false) | |||
| 205 | - | ||||
| 206 | cret := xTabBarGetIsOverflowing(x.GoPointer()) | 192 | cret := xTabBarGetIsOverflowing(x.GoPointer()) | ||
| 207 | return cret | 193 | return cret | ||
| 208 | } | 194 | } | ||
| @@ -211,7 +197,6 @@ var xTabBarGetStartActionWidget func(uintptr) uintptr | |||||
| 211 | 197 | ||||
| 212 | // Gets the widget shown before the tabs. | 198 | // Gets the widget shown before the tabs. | ||
| 213 | func (x *TabBar) GetStartActionWidget() *gtk.Widget { | 199 | func (x *TabBar) GetStartActionWidget() *gtk.Widget { | ||
| 214 | - | core.LazyRegister(&xTabBarGetStartActionWidget, "ADW", "adw_tab_bar_get_start_action_widget", false) | |||
| 215 | var cls *gtk.Widget | 200 | var cls *gtk.Widget | ||
| 216 | 201 | ||||
| 217 | cret := xTabBarGetStartActionWidget(x.GoPointer()) | 202 | cret := xTabBarGetStartActionWidget(x.GoPointer()) | ||
| @@ -231,8 +216,6 @@ var xTabBarGetTabsRevealed func(uintptr) bool | |||||
| 231 | // | 216 | // | ||
| 232 | // See [property@TabBar:autohide]. | 217 | // See [property@TabBar:autohide]. | ||
| 233 | func (x *TabBar) GetTabsRevealed() bool { | 218 | func (x *TabBar) GetTabsRevealed() bool { | ||
| 234 | - | core.LazyRegister(&xTabBarGetTabsRevealed, "ADW", "adw_tab_bar_get_tabs_revealed", false) | |||
| 235 | - | ||||
| 236 | cret := xTabBarGetTabsRevealed(x.GoPointer()) | 219 | cret := xTabBarGetTabsRevealed(x.GoPointer()) | ||
| 237 | return cret | 220 | return cret | ||
| 238 | } | 221 | } | ||
| @@ -241,7 +224,6 @@ var xTabBarGetView func(uintptr) uintptr | |||||
| 241 | 224 | ||||
| 242 | // Gets the tab view @self controls. | 225 | // Gets the tab view @self controls. | ||
| 243 | func (x *TabBar) GetView() *TabView { | 226 | func (x *TabBar) GetView() *TabView { | ||
| 244 | - | core.LazyRegister(&xTabBarGetView, "ADW", "adw_tab_bar_get_view", false) | |||
| 245 | var cls *TabView | 227 | var cls *TabView | ||
| 246 | 228 | ||||
| 247 | cret := xTabBarGetView(x.GoPointer()) | 229 | cret := xTabBarGetView(x.GoPointer()) | ||
| @@ -264,8 +246,6 @@ var xTabBarSetAutohide func(uintptr, bool) | |||||
| 264 | // | 246 | // | ||
| 265 | // See [property@TabBar:tabs-revealed]. | 247 | // See [property@TabBar:tabs-revealed]. | ||
| 266 | func (x *TabBar) SetAutohide(AutohideVar bool) { | 248 | func (x *TabBar) SetAutohide(AutohideVar bool) { | ||
| 267 | - | core.LazyRegister(&xTabBarSetAutohide, "ADW", "adw_tab_bar_set_autohide", false) | |||
| 268 | - | ||||
| 269 | xTabBarSetAutohide(x.GoPointer(), AutohideVar) | 249 | xTabBarSetAutohide(x.GoPointer(), AutohideVar) | ||
| 270 | } | 250 | } | ||
| 271 | 251 | ||||
| @@ -273,8 +253,6 @@ var xTabBarSetEndActionWidget func(uintptr, uintptr) | |||||
| 273 | 253 | ||||
| 274 | // Sets the widget to show after the tabs. | 254 | // Sets the widget to show after the tabs. | ||
| 275 | func (x *TabBar) SetEndActionWidget(WidgetVar *gtk.Widget) { | 255 | func (x *TabBar) SetEndActionWidget(WidgetVar *gtk.Widget) { | ||
| 276 | - | core.LazyRegister(&xTabBarSetEndActionWidget, "ADW", "adw_tab_bar_set_end_action_widget", false) | |||
| 277 | - | ||||
| 278 | xTabBarSetEndActionWidget(x.GoPointer(), WidgetVar.GoPointer()) | 256 | xTabBarSetEndActionWidget(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 279 | } | 257 | } | ||
| 280 | 258 | ||||
| @@ -285,8 +263,6 @@ var xTabBarSetExpandTabs func(uintptr, bool) | |||||
| 285 | // If set to `TRUE`, the tabs will always vary width filling the whole width | 263 | // If set to `TRUE`, the tabs will always vary width filling the whole width | ||
| 286 | // when possible, otherwise tabs will always have the minimum possible size. | 264 | // when possible, otherwise tabs will always have the minimum possible size. | ||
| 287 | func (x *TabBar) SetExpandTabs(ExpandTabsVar bool) { | 265 | func (x *TabBar) SetExpandTabs(ExpandTabsVar bool) { | ||
| 288 | - | core.LazyRegister(&xTabBarSetExpandTabs, "ADW", "adw_tab_bar_set_expand_tabs", false) | |||
| 289 | - | ||||
| 290 | xTabBarSetExpandTabs(x.GoPointer(), ExpandTabsVar) | 266 | xTabBarSetExpandTabs(x.GoPointer(), ExpandTabsVar) | ||
| 291 | } | 267 | } | ||
| 292 | 268 | ||||
| @@ -296,8 +272,6 @@ var xTabBarSetExtraDragPreload func(uintptr, bool) | |||||
| 296 | // | 272 | // | ||
| 297 | // See [property@Gtk.DropTarget:preload]. | 273 | // See [property@Gtk.DropTarget:preload]. | ||
| 298 | func (x *TabBar) SetExtraDragPreload(PreloadVar bool) { | 274 | func (x *TabBar) SetExtraDragPreload(PreloadVar bool) { | ||
| 299 | - | core.LazyRegister(&xTabBarSetExtraDragPreload, "ADW", "adw_tab_bar_set_extra_drag_preload", false) | |||
| 300 | - | ||||
| 301 | xTabBarSetExtraDragPreload(x.GoPointer(), PreloadVar) | 275 | xTabBarSetExtraDragPreload(x.GoPointer(), PreloadVar) | ||
| 302 | } | 276 | } | ||
| 303 | 277 | ||||
| @@ -308,8 +282,6 @@ var xTabBarSetInverted func(uintptr, bool) | |||||
| 308 | // If set to `TRUE`, non-pinned tabs will have the close button at the beginning | 282 | // If set to `TRUE`, non-pinned tabs will have the close button at the beginning | ||
| 309 | // and the indicator at the end rather than the opposite. | 283 | // and the indicator at the end rather than the opposite. | ||
| 310 | func (x *TabBar) SetInverted(InvertedVar bool) { | 284 | func (x *TabBar) SetInverted(InvertedVar bool) { | ||
| 311 | - | core.LazyRegister(&xTabBarSetInverted, "ADW", "adw_tab_bar_set_inverted", false) | |||
| 312 | - | ||||
| 313 | xTabBarSetInverted(x.GoPointer(), InvertedVar) | 285 | xTabBarSetInverted(x.GoPointer(), InvertedVar) | ||
| 314 | } | 286 | } | ||
| 315 | 287 | ||||
| @@ -317,8 +289,6 @@ var xTabBarSetStartActionWidget func(uintptr, uintptr) | |||||
| 317 | 289 | ||||
| 318 | // Sets the widget to show before the tabs. | 290 | // Sets the widget to show before the tabs. | ||
| 319 | func (x *TabBar) SetStartActionWidget(WidgetVar *gtk.Widget) { | 291 | func (x *TabBar) SetStartActionWidget(WidgetVar *gtk.Widget) { | ||
| 320 | - | core.LazyRegister(&xTabBarSetStartActionWidget, "ADW", "adw_tab_bar_set_start_action_widget", false) | |||
| 321 | - | ||||
| 322 | xTabBarSetStartActionWidget(x.GoPointer(), WidgetVar.GoPointer()) | 292 | xTabBarSetStartActionWidget(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 323 | } | 293 | } | ||
| 324 | 294 | ||||
| @@ -326,8 +296,6 @@ var xTabBarSetView func(uintptr, uintptr) | |||||
| 326 | 296 | ||||
| 327 | // Sets the tab view @self controls. | 297 | // Sets the tab view @self controls. | ||
| 328 | func (x *TabBar) SetView(ViewVar *TabView) { | 298 | func (x *TabBar) SetView(ViewVar *TabView) { | ||
| 329 | - | core.LazyRegister(&xTabBarSetView, "ADW", "adw_tab_bar_set_view", false) | |||
| 330 | - | ||||
| 331 | xTabBarSetView(x.GoPointer(), ViewVar.GoPointer()) | 299 | xTabBarSetView(x.GoPointer(), ViewVar.GoPointer()) | ||
| 332 | } | 300 | } | ||
| 333 | 301 | ||||
| @@ -343,8 +311,6 @@ var xTabBarSetupExtraDropTarget func(uintptr, gdk.DragAction, []types.GType, uin | |||||
| 343 | // | 311 | // | ||
| 344 | // The [signal@TabBar::extra-drag-drop] signal can be used to handle the drop. | 312 | // The [signal@TabBar::extra-drag-drop] signal can be used to handle the drop. | ||
| 345 | func (x *TabBar) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar []types.GType, NTypesVar uint) { | 313 | func (x *TabBar) SetupExtraDropTarget(ActionsVar gdk.DragAction, TypesVar []types.GType, NTypesVar uint) { | ||
| 346 | - | core.LazyRegister(&xTabBarSetupExtraDropTarget, "ADW", "adw_tab_bar_setup_extra_drop_target", false) | |||
| 347 | - | ||||
| 348 | xTabBarSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar) | 314 | xTabBarSetupExtraDropTarget(x.GoPointer(), ActionsVar, TypesVar, NTypesVar) | ||
| 349 | } | 315 | } | ||
| 350 | 316 | ||||
| @@ -799,4 +765,35 @@ func (x *TabBar) GetBuildableId() string { | |||||
| 799 | func init() { | 765 | func init() { | ||
| 800 | core.SetPackageName("ADW", "libadwaita-1") | 766 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 801 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 767 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 768 | + | var libs []uintptr | |||
| 769 | + | for _, libPath := range core.GetPaths("ADW") { | |||
| 770 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 771 | + | if err != nil { | |||
| 772 | + | panic(err) | |||
| 773 | + | } | |||
| 774 | + | libs = append(libs, lib) | |||
| 775 | + | } | |||
| 776 | + | ||||
| 777 | + | core.PuregoSafeRegister(&xTabBarGLibType, libs, "adw_tab_bar_get_type") | |||
| 778 | + | ||||
| 779 | + | core.PuregoSafeRegister(&xNewTabBar, libs, "adw_tab_bar_new") | |||
| 780 | + | ||||
| 781 | + | core.PuregoSafeRegister(&xTabBarGetAutohide, libs, "adw_tab_bar_get_autohide") | |||
| 782 | + | core.PuregoSafeRegister(&xTabBarGetEndActionWidget, libs, "adw_tab_bar_get_end_action_widget") | |||
| 783 | + | core.PuregoSafeRegister(&xTabBarGetExpandTabs, libs, "adw_tab_bar_get_expand_tabs") | |||
| 784 | + | core.PuregoSafeRegister(&xTabBarGetExtraDragPreferredAction, libs, "adw_tab_bar_get_extra_drag_preferred_action") | |||
| 785 | + | core.PuregoSafeRegister(&xTabBarGetExtraDragPreload, libs, "adw_tab_bar_get_extra_drag_preload") | |||
| 786 | + | core.PuregoSafeRegister(&xTabBarGetInverted, libs, "adw_tab_bar_get_inverted") | |||
| 787 | + | core.PuregoSafeRegister(&xTabBarGetIsOverflowing, libs, "adw_tab_bar_get_is_overflowing") | |||
| 788 | + | core.PuregoSafeRegister(&xTabBarGetStartActionWidget, libs, "adw_tab_bar_get_start_action_widget") | |||
| 789 | + | core.PuregoSafeRegister(&xTabBarGetTabsRevealed, libs, "adw_tab_bar_get_tabs_revealed") | |||
| 790 | + | core.PuregoSafeRegister(&xTabBarGetView, libs, "adw_tab_bar_get_view") | |||
| 791 | + | core.PuregoSafeRegister(&xTabBarSetAutohide, libs, "adw_tab_bar_set_autohide") | |||
| 792 | + | core.PuregoSafeRegister(&xTabBarSetEndActionWidget, libs, "adw_tab_bar_set_end_action_widget") | |||
| 793 | + | core.PuregoSafeRegister(&xTabBarSetExpandTabs, libs, "adw_tab_bar_set_expand_tabs") | |||
| 794 | + | core.PuregoSafeRegister(&xTabBarSetExtraDragPreload, libs, "adw_tab_bar_set_extra_drag_preload") | |||
| 795 | + | core.PuregoSafeRegister(&xTabBarSetInverted, libs, "adw_tab_bar_set_inverted") | |||
| 796 | + | core.PuregoSafeRegister(&xTabBarSetStartActionWidget, libs, "adw_tab_bar_set_start_action_widget") | |||
| 797 | + | core.PuregoSafeRegister(&xTabBarSetView, libs, "adw_tab_bar_set_view") | |||
| 798 | + | core.PuregoSafeRegister(&xTabBarSetupExtraDropTarget, libs, "adw_tab_bar_setup_extra_drop_target") | |||
| 802 | } | 799 | } | ||