Skip to content
Permalink
Browse files

fish: avoid deprecated 'gtk_window_set_wmclass'

  • Loading branch information...
sc0w committed Jul 11, 2018
1 parent 9de3a86 commit 7369482f848486c5e35f2883346b23b1cacc6f37
Showing with 0 additions and 5 deletions.
  1. +0 −5 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)));

0 comments on commit 7369482

Please sign in to comment.
You can’t perform that action at this time.