Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
libmatekbd
libmatekbd-gtk-3.20.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmatekbd-gtk-3.20.patch of Package libmatekbd
--- a/configure.ac +++ b/configure.ac @@ -17,10 +17,10 @@ AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist- m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR(m4) -GLIB_REQUIRED=2.50.0 +GLIB_REQUIRED=2.48.0 GIO_REQUIRED=2.25.0 -GTK_REQUIRED=3.22.0 -GDK_REQUIRED=3.22.0 +GTK_REQUIRED=3.20.0 +GDK_REQUIRED=3.20.0 LIBXKLAVIER_REQUIRED=5.2 AC_SUBST([GIO_REQUIRED]) --- a/test/matekbd-keyboard-drawing-test.c +++ b/test/matekbd-keyboard-drawing-test.c @@ -161,7 +161,11 @@ main (gint argc, gchar ** argv) GtkWidget *window; GtkWidget *matekbd_keyboard_drawing; GdkScreen *screen; +#if GTK_CHECK_VERSION (3, 22, 0) GdkMonitor *monitor; +#else + int monitor; +#endif GdkRectangle rect; GOptionContext *context; GError *error = NULL; @@ -204,8 +208,13 @@ main (gint argc, gchar ** argv) G_CALLBACK (gtk_main_quit), NULL); screen = gtk_window_get_screen (GTK_WINDOW (window)); +#if GTK_CHECK_VERSION (3, 22, 0) monitor = gdk_display_get_monitor_at_point (gdk_screen_get_display (screen), 0, 0); gdk_monitor_get_geometry (monitor, &rect); +#else + monitor = gdk_screen_get_monitor_at_point (screen, 0, 0); + gdk_screen_get_monitor_geometry (screen, monitor, &rect); +#endif gtk_window_set_default_size (GTK_WINDOW (window), rect.width * 4 / 5, rect.height * 1 / 2);
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