diff options
author | Victor Kareh <[email protected]> | 2025-07-18 10:51:52 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2025-07-23 10:48:09 -0400 |
commit | 1e392a614d5f447531a6883ed9dc19b4c30b8eb6 (patch) | |
tree | 010ed78be185f70a84b33073c7f3a54f1024031a /applets/fish/fish.c | |
parent | 796528749b8a3e4227ca736b47f78ece64515b16 (diff) | |
download | mate-panel-1e392a614d5f447531a6883ed9dc19b4c30b8eb6.tar.bz2 mate-panel-1e392a614d5f447531a6883ed9dc19b4c30b8eb6.tar.xz |
Remove deprecated gdk_screen_get_* functions
Screen functions are replaced with their Display equivalents to remove
deprecation warnings. Display functions take into account the entire
display server connection, rather than a single physical monitor.
Diffstat (limited to 'applets/fish/fish.c')
-rw-r--r-- | applets/fish/fish.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c index 45ce9228..e0898334 100644 --- a/applets/fish/fish.c +++ b/applets/fish/fish.c @@ -937,8 +937,7 @@ static void display_fortune_dialog(FishApplet* fish) clear_fortune_text (fish); - screen = gtk_widget_get_screen (GTK_WIDGET (fish)); - display = gdk_screen_get_display (screen); + display = gtk_widget_get_display (GTK_WIDGET (fish)); display_name = g_strdup (gdk_display_get_name (display)); g_spawn_async_with_pipes (NULL, /* working directory */ argv, |