Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:7072
wxWidgets-3_0-nostl.openSUSE_Leap_42.3_Update
0001-Provide-trivial-GDK_IS_X11_DISPLAY-definit...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Provide-trivial-GDK_IS_X11_DISPLAY-definition-for-GT.patch of Package wxWidgets-3_0-nostl.openSUSE_Leap_42.3_Update
From 45e972943fba447e87db9dd41eaabc0e55df1017 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Wed, 19 Nov 2014 13:29:07 +0000 Subject: [PATCH 1/5] Provide trivial GDK_IS_X11_DISPLAY() definition for GTK+2. This will be useful for upcoming patches using it to fix problems with GTK+ 3 without breaking GTK+ 2 compilation. See #16688. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/private/gtk2-compat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/gtk/private/gtk2-compat.h b/include/wx/gtk/private/gtk2-compat.h index 76a6075..1cdcc04 100644 --- a/include/wx/gtk/private/gtk2-compat.h +++ b/include/wx/gtk/private/gtk2-compat.h @@ -517,5 +517,9 @@ static inline void wx_gtk_widget_get_preferred_size(GtkWidget* widget, GtkRequis } #define gtk_widget_get_preferred_size wx_gtk_widget_get_preferred_size +// There is no equivalent in GTK+ 2, but it's not needed there anyhow as X11 +// backend can only work with X11 displays in that version. +#define GDK_IS_X11_DISPLAY(dpy) (TRUE) + #endif // !__WXGTK3__ #endif // _WX_GTK_PRIVATE_COMPAT_H_ -- 2.7.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor