Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-03Bug 539524: [GTK3.24] Port event handling to GtkEventControllerI20181003-1800Eric Williams1-0/+12
Add signal names and indexes to avoid rebasing conflicts between future patches. Change-Id: I9f50115919af01c3eb1819d00ec852ea064536d8 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-10-02Bug 539571: [GTK3] Clean up functions that don't need to be dynamicEric Williams1-102/+57
Make non-deprecated GDK functions that are available on 3.4+ non-dynamic. Change-Id: Ie5fe71741ef9557bf72091326adc62b451380683 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-10-02Bug 539571: [GTK3] Clean up functions that don't need to be dynamicEric Williams1-76/+109
Make functions that aren't deprecated and exist on GTK3.4 non-dynamic. Change-Id: I770be9f52e44d2e108ac4b17107d196886b6e9f8 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-10-02Bug 518714 - [GTK3] Replace deprecated gdk_screen_get_active_window()Xi Yan1-3/+16
Remove gdk_screen_get_active_window, replace it by iterating the window stack and getting the current focused window as the active window. Change-Id: Ia80b195152c7754072a8a86efc2848460468b05f Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-10-01Bug 539582 - [GTK3] Replace deprecated gdk_device_grab/ungrab()Xi Yan1-0/+13
Replace gdk_device_grab/ungrab with gdk_seat_grab/ungrab for GTK3.20+. Change-Id: Icf3f2900e0d9ed5768f9a887c7975f75970117c2 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-10-01Bug 539571: [GTK3] Clean up functions that don't need to be dynamicEric Williams1-0/+4
Fix compile warning for gtk_widget_draw() Change-Id: I39f6ca32803087cb294eb9e31ebcfbfce82db8b6 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-28Bug 539572: [GTK3] Remove gtk_entry_get_inner_borderEric Williams1-11/+0
Remove gtk_entry_get_innder_border(), use the existing gtk_style_context_get_padding() and gtk_style_context_get_border() calls instead. Change-Id: I11b5646652e81df8495cd94749e4a7c066d75f72 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-28Bug 539573: [GTK3] Replace deprecated gtk_widget_is_composited()Eric Williams2-14/+23
Remove gtk_widget_is_composited() and replace it with gdk_screen_is_composited(). Change-Id: I11568732bfa825414b225225f4e4bb3610020035 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-27Bug 539571: [GTK3] Clean up functions that don't need to be dynamicEric Williams2-46/+16
Remove some unnecessary dynamic functions, and add tags for those that are deprecated. Change-Id: Idb0dd82bf4f1b2a50d8d9547419e0699eb445e00 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-27Revert "Bug 539392: [GTK3] Replace deprecated GdkScreen monitor functions ↵Lakshmi Shanmugam1-1/+0
with GdkDisplay ones" This reverts commit 9dd3fa3f27b2471ad1ec1c8c40b3c25f1aba0a80. This change doesn't compile on the ppc64le build machine Change-Id: I397022c51469c8dbe55692553564037cb095fe7b
2018-09-26Bug 539392: [GTK3] Replace deprecated GdkScreen monitor functions withI20180926-1800Eric Williams1-0/+1
GdkDisplay ones Fix crash in gdk_monitor_get_geometry(). Change-Id: I049692e6c0e4074412ccce1243d81be331d829cb Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-26Bug 539392: [GTK3] Replace deprecated GdkScreen monitor functions withEric Williams1-13/+51
GdkDisplay ones Replace gdk_screen*_monitor functions with the proper gdk_display_* and gdk_monitor_* ones for GTK3.22+. Change-Id: I04833ad192944e3f5b93106f57e820959626a510 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-26Bug 539367: [GTK3] Long text in Combo drawn over drop-down button andEric Williams1-0/+13
outside of combo Combos have a GtkCellView, which renders the text, and other icons. by default, GtkCellView has a "fit-model" property which is set to true. This means the content in the cell view will always expand to the maximum size. Setting it to false allows us to resize the cell view as desired. The fix for this bug is to set the clipping of the cell view to a smaller size: we find the x position of the drop down icon, minus its width. This stops the text from being drawn over the drop down icon, and sometimes over other widgets. Tested on GTK3.22 and 3.20, all other versions of GTK3 are unaffected. The snippets in this patch do not show the bug, nor does the one for bug 500703. Additionally, the keys preferences page does not exhibit any issues either. No AllNonBrowser JUnit tests fail. Change-Id: Iabfae03c7ee5b0279b87fa7054bc28c75d2d3b7e Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-24Bug 518716: [GTK3] Replace deprecated gdk_screen_width/height()Eric Williams1-0/+6
Replace deprecated gdk_screen_width/height() with monitor specific information, or display.getBounds(). We keep gdk_screen_width/height() around in cases where SWT runs on GTK3.20-, or as a fallback if per-monitor information isn't useful on GTK3.22. Change-Id: I406579ba0fed2278cedc2907df84c2a1457d71fa Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-21Bug 539331: [GTK3] Replace deprecated gdk_keymap_get_default()Eric Williams1-3/+6
Replace gdk_keymap_get_default() with gdk_keymap_get_for_display(). Change-Id: Ibccccec051c8fa2153583ded9bc2357231c27981 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-21Bug 518718: [GTK3] Replace deprecated gdk_visual_get_system()Eric Williams1-9/+12
Replace gdk_visual_get_system() with gdk_screen_get_system_visual(). Change-Id: Ibbb5906a33737ff5a7d13241f37e262d96c72090 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-19Bug 530841: [GTK2] Remove GTK 2.x supportY20180919-2200I20180919-1800Eric Williams1-4/+0
Remove *_IM_CONTEXT functions that do nothing on GTK3. Change-Id: I5e52ec98acf5b26e3f695da920163940df4b8f5e Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-19Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams3-64/+0
Remove GdkImage and some more GdkDrawable code from TrayItem. This code was never called on GTK3, and doesn't seem to impact the functionality of TrayItem on KDE and Xfce. Change-Id: I38ab60f6e62a1b4a54fe5b7d798260aa850ac0aa Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-18Bug 530841: [GTK2] Remove GTK 2.x supportI20180918-1800Eric Williams1-77/+0
Remove pixmap from Image, as there are no pixmaps on GTK3 anymore: https://developer.gnome.org/gtk3/stable/ch26s02.html#id-1.6.3.4.5 Also remove printWindow() functionality, as it will never work on GTK3 because it uses GdkDrawable. It will need to be re-implemented. Change-Id: I7d1dd7d9cb7ce52cdf27fe707d45cca0f477f562 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-18Bug 539197: [Webkit2] Fix casting and compilation warningsEric Williams1-0/+1
Add cast for GAsyncReadyCallback. Change-Id: Ib77f9732ca4d9eb04e6a5ae581cb5513f2f5f66f Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-18Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-1/+0
Remove unused sizeOf() function for GdkDragContext. Change-Id: I3c70e50fd3c6ce7229ad1c77e0997b1db4c46d41 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-18Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-148/+0
Remove hacky os.h defines and properly implement cairo_region_* functions. Introduced cairo_rectangle_int_t instead of GdkRectangle, removed old GdkRegion functions. Change-Id: I688ec05ac22216ac3dc63332c5df9f8f62a0d394 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-18Even more GTK2 cleanups.Alexander Kurtakov2-5/+1
* Don't look for SWT_GTK3 * Remove GTK2 specific comments. * remove get_size from GtkCellRendererClass replaced by get_preferred_width Change-Id: If3f7f37a11310533257dc818fd1dd1f5112dbe91 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-18Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-3/+0
Cleanup Glib pre 2.32 checks. Change-Id: I15752688950560d6962708b7e3c3b3d79ce9ce6c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-18Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov3-30/+1
Cleanup ifdefed code and defines for GTK2/3 in native parts and some unused bindings removal. Change-Id: I6271a16748aa62d96f179dd17ebce33f78d9d883 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams2-59/+0
Remove gtk_expose_event callback. Change-Id: I7ededef607eba36009e442962585873d88c7bccd Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-102/+0
Remove functions deprecated in 3.0, or those that are no longer used. Some methods that are no longer called were also removed. Change-Id: Iec37467c14e8ea30352b31732152b5b9102ebc7d Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-1/+0
Remove remaining guarded code and GTK3 flag. Change-Id: I7a2615b2c1d93f9659b45dd0f3b9f8bb0bb47628 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams2-81/+0
Remove GTK2 code from Widget. Some refactoring was done which changed code in other widgets. Change-Id: I511af6b253e1f0cca3f59b2eede3959a8bab9cae Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-1/+0
Remove GTK2 code from TabFolder/Item, ToolBar/Item, Tree/TableItem, and TableColumn. Change-Id: I22e99b5a420f1386e2f5fde9ae082fec8e734f88 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-7/+1
Remove GtkAdjustment JNI generation for sole use as a Java class -- GTK3 removed access to the GtkAdjustment struct. Change-Id: I5303aa64e6424e9ca8638a47eee465178c57902e Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-17Bug 530841 - [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-14/+0
Cleanup Button, Combo and Group. Change-Id: I99fd97ae999238d9864f1319d6eba6f77a507c94 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov3-99/+0
Cleanup Display and Shell - it propagates to children too. Change-Id: I3e0a0467396b1bdc073564c2b0f9db9e8f773cfc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-30/+1
Remove code for Glib versions older than the min requirement of GTK 3.4. Change-Id: I49def92f6f3a3dfe9583b9dd6b28bf5027d712e0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-35/+0
Drop GtkArrow usages. Change-Id: Ibd6e0c3c6ae182db83ea258131ec51035f10cb7c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-77/+0
Adjust to GtkOrientable usage in newer GTKs. Change-Id: Icdedb0dbb92bb8dc96c69ee12e1506a33997aa52 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-141/+0
Cleanup dialogs. Change-Id: I7eaced1e0838b9164efb2d8af86fc1ab8d9c293b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-17Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-61/+0
Various GKT 2 drawing removals. Change-Id: I9dc357e307ec8b247f59b0b562e06e82b643a918 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-14Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams3-82/+0
Remove unused os.h functions from GTK3 declaration, and remove GTK2 portion all together. Change-Id: I1173c06867d6a4c087150356f71053d87b8d5d77 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-14Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-53/+0
Remove GTK2 sizing logic. Change-Id: Ibd2807153ee3274659686d77d60960f8512ff3b8 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-14Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-2/+0
Remove GTK3 check in setDarkThemePreferred - not needed anymore as we run on GTK 3.4+ always now. Change-Id: I3c8ea7fbc29ed8e3ab1eba48fc5d1ebd49fc4d2a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-14Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-2/+0
Remove GTK3 assert in gtk_[list|tree]_store_set Change-Id: I27fc549176da7038d39845ca050fb9c87e550133 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-14Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-9/+0
gdk_rgba* functions doesn't have to be dynamic anymore. Change-Id: I53f3b8ad9c1b5070aebba8939f7b7538d8a7369c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-13Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-10/+0
Remove GtkFixed code from Display and elsewhere. Change-Id: Icc230063927ab86b48e7202a3b5e830d604a7a3d Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-13Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-41/+0
Remove GTK2 code from Control. Change-Id: I3c2e47449bac0fccf731844ca057222e27188f49 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-13Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-39/+0
Handle graphics package. Change-Id: Iefbb076575112d018e1de40c9ee0289eea34663d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-13Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams2-29/+0
Remove Table/Tree GTK2 code. Change-Id: I810aeb0a1e5a33e4da5a6a3cc54ec425ad07227a
2018-09-13Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov4-103/+6
Remove GTK2 support in DnD code. Change-Id: I3b0c22edc32970cd318feda011d8089c0e4a45bf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-12Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams1-62/+0
Remove GTK2 menu logic. Change-Id: I3ee93644131bd75f80e796ea811ca9dc5991eb82 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-12Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov4-124/+0
Drop GTK2 support in accessibility implementation. Change-Id: If0d87cf4a0a25cc03983f356c5f47a27214eaa2f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>

Back to the top