[gnome-panel] fish: avoid deprecated gtk_window_set_wmclass



commit 8b183899005eaf820548accab7bb01f9e5e3b1f4
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Oct 28 01:12:39 2016 +0300

    fish: avoid deprecated gtk_window_set_wmclass

 applets/fish/fish-applet.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/applets/fish/fish-applet.c b/applets/fish/fish-applet.c
index edb10dd..af235a3 100644
--- a/applets/fish/fish-applet.c
+++ b/applets/fish/fish-applet.c
@@ -285,8 +285,6 @@ display_preferences_dialog (GSimpleAction *action,
        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 (
@@ -639,8 +637,6 @@ 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_width  = gdk_screen_get_width (screen);
                screen_height = gdk_screen_get_height (screen);
 
@@ -1156,7 +1152,6 @@ 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)));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]