diff options
author | Victor Kareh <[email protected]> | 2024-04-22 15:50:38 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2024-05-08 06:53:36 -0400 |
commit | 39b4e3a38e4799cf56263a9da40006edf2da91a8 (patch) | |
tree | 0cb65b3901dfc2732e3e90462335340b5478bec3 /applets/wncklet | |
parent | fa1319314ffc81307d8dd80469d8012fec343472 (diff) | |
download | mate-panel-39b4e3a38e4799cf56263a9da40006edf2da91a8.tar.bz2 mate-panel-39b4e3a38e4799cf56263a9da40006edf2da91a8.tar.xz |
wncklet: Remove unused attributes
Since the icon loader is no longer present, there is no need to track
the icon theme when the applet is realized. This is will all be taken
care of by libwnck.
Diffstat (limited to 'applets/wncklet')
-rw-r--r-- | applets/wncklet/window-list.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index bc52b1a6..93785cc1 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -71,8 +71,6 @@ typedef struct { gboolean needs_hints; #endif - GtkIconTheme* icon_theme; - /* Properties: */ GtkWidget* properties_dialog; GtkWidget* wayland_info_label; @@ -205,11 +203,6 @@ static void response_cb(GtkWidget* widget, int id, TasklistData* tasklist) } } -static void applet_realized(MatePanelApplet* applet, TasklistData* tasklist) -{ - tasklist->icon_theme = gtk_icon_theme_get_for_screen(gtk_widget_get_screen(tasklist->applet)); -} - static void applet_change_orient(MatePanelApplet* applet, MatePanelAppletOrient orient, TasklistData* tasklist) { GtkOrientation new_orient; @@ -884,9 +877,6 @@ gboolean window_list_applet_fill(MatePanelApplet* applet) gtk_container_add(GTK_CONTAINER(tasklist->applet), tasklist->tasklist); - g_signal_connect (tasklist->applet, "realize", - G_CALLBACK (applet_realized), - tasklist); g_signal_connect (tasklist->applet, "change-orient", G_CALLBACK (applet_change_orient), tasklist); |