summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2024-04-22 15:50:38 -0400
committerVictor Kareh <[email protected]>2025-09-04 15:27:36 -0400
commit1c768b7af4813cea0dc6c3c0a586339e61b3909f (patch)
treece1ff0d8cd3c59b06aaa2534cc15cd7c070ed5b9 /applets
parent48d45df162e61a5c16bd4ba1e02bc9655d343512 (diff)
downloadmate-panel-1c768b7af4813cea0dc6c3c0a586339e61b3909f.tar.bz2
mate-panel-1c768b7af4813cea0dc6c3c0a586339e61b3909f.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')
-rw-r--r--applets/wncklet/window-list.c10
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);