app: get rid of one more deprecated usage of gdk_screen_make_display_name().

This commit is contained in:
Jehan 2023-02-05 19:43:15 +01:00
parent fd7ec4df6a
commit e04d85e0f9
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ gui_get_display_name (Gimp *gimp,
*monitor_number = get_monitor_number (GDK_MONITOR (*monitor));
return gdk_screen_make_display_name (gdk_display_get_default_screen (gdk_display));
return g_strdup (gdk_display_get_name (gdk_display));
}
static guint32