Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1
engrampa
engrampa-gtk-3.20.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File engrampa-gtk-3.20.patch of Package engrampa
--- a/configure.ac +++ b/configure.ac @@ -29,9 +29,9 @@ dnl it too, or it will never make it int dnl dnl ========================================================================== -GLIB_REQUIRED=2.50.0 -GIO_REQUIRED=2.50.0 -GTK_REQUIRED=3.22.0 +GLIB_REQUIRED=2.48.0 +GIO_REQUIRED=2.48.0 +GTK_REQUIRED=3.20.0 CAJA_REQUIRED=1.17.1 JSON_GLIB_REQUIRED=0.14.0 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -2253,7 +2253,11 @@ open_folder (GtkWindow *parent, if (folder == NULL) return; +#if GTK_CHECK_VERSION (3, 22, 0) if (! gtk_show_uri_on_window (parent, folder, GDK_CURRENT_TIME, &error)) { +#else + if (! gtk_show_uri (gtk_window_get_screen (parent), folder, GDK_CURRENT_TIME, &error)) { +#endif GtkWidget *d; char *utf8_name; char *message; --- a/src/gtk-utils.c +++ b/src/gtk-utils.c @@ -731,7 +731,11 @@ show_help_dialog (GtkWindow *parent, GError *error = NULL; uri = g_strconcat ("help:engrampa", section ? "/" : NULL, section, NULL); +#if GTK_CHECK_VERSION (3, 22, 0) if (! gtk_show_uri_on_window (parent, uri, GDK_CURRENT_TIME, &error)) { +#else + if (! gtk_show_uri (gtk_window_get_screen (parent), uri, GDK_CURRENT_TIME, &error)) { +#endif GtkWidget *dialog; dialog = _gtk_message_dialog_new (parent,
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