summaryrefslogtreecommitdiff
path: root/applets/fish/fish.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-07-12 01:40:41 +0200
committerZenWalker <[email protected]>2018-07-12 20:46:29 +0200
commit7369482f848486c5e35f2883346b23b1cacc6f37 (patch)
treed7bb1d48a2a531620f16c9174e953f8bd96d3c05 /applets/fish/fish.c
parent9de3a86d736f70c4d45550649ba62a935369b146 (diff)
downloadmate-panel-7369482f848486c5e35f2883346b23b1cacc6f37.tar.bz2
mate-panel-7369482f848486c5e35f2883346b23b1cacc6f37.tar.xz
fish: avoid deprecated 'gtk_window_set_wmclass'
Diffstat (limited to 'applets/fish/fish.c')
-rw-r--r--applets/fish/fish.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index c502e3c1..a6ee5734 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -400,8 +400,6 @@ static void display_preferences_dialog(GtkAction* action, FishApplet* fish)
g_object_add_weak_pointer (G_OBJECT (fish->preferences_dialog),
(void**) &fish->preferences_dialog);
- gtk_window_set_wmclass (GTK_WINDOW (fish->preferences_dialog),
- "fish", "Fish");
gtk_window_set_icon_name (GTK_WINDOW (fish->preferences_dialog),
FISH_ICON);
gtk_dialog_set_default_response (
@@ -866,8 +864,6 @@ static void display_fortune_dialog(FishApplet* fish)
g_signal_connect (fish->fortune_dialog, "response",
G_CALLBACK (handle_fortune_response), fish);
- gtk_window_set_wmclass (GTK_WINDOW (fish->fortune_dialog), "fish", "Fish");
-
screen = gtk_widget_get_screen (GTK_WIDGET (fish));
screen_width = WidthOfScreen (gdk_x11_screen_get_xscreen (screen));
@@ -1554,7 +1550,6 @@ static void change_water(FishApplet* fish)
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
_("Look at today's date!"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), FISH_ICON);
- gtk_window_set_wmclass (GTK_WINDOW (dialog), "fish", "Fish");
gtk_window_set_screen (GTK_WINDOW (dialog),
gtk_widget_get_screen (GTK_WIDGET (fish)));