diff options
author | mbkma <[email protected]> | 2020-12-04 12:28:22 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2020-12-11 01:10:30 +0000 |
commit | a48c9cea66061a6f81a8a6109a0fa29b76abfb34 (patch) | |
tree | 22698819da3c07e89f358109bd98a798e4bfba1d /applets/wncklet | |
parent | 08146a80fc1727cde7a6d02d8436f2c86c159b8c (diff) | |
download | mate-panel-a48c9cea66061a6f81a8a6109a0fa29b76abfb34.tar.bz2 mate-panel-a48c9cea66061a6f81a8a6109a0fa29b76abfb34.tar.xz |
remove function calls to mate_panel_applet_set_background_widget
keep mate_panel_applet_set_background_widget for compatibility
Diffstat (limited to 'applets/wncklet')
-rw-r--r-- | applets/wncklet/showdesktop.c | 2 | ||||
-rw-r--r-- | applets/wncklet/window-list.c | 2 | ||||
-rw-r--r-- | applets/wncklet/window-menu.c | 2 | ||||
-rw-r--r-- | applets/wncklet/workspace-switcher.c | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c index c3454a0f..e4f6b45a 100644 --- a/applets/wncklet/showdesktop.c +++ b/applets/wncklet/showdesktop.c @@ -458,8 +458,6 @@ gboolean show_desktop_applet_fill(MatePanelApplet* applet) initial oriantation, and we get that during the _add call */ g_signal_connect(G_OBJECT (sdd->applet), "change_orient", G_CALLBACK (applet_change_orient), sdd); - mate_panel_applet_set_background_widget(MATE_PANEL_APPLET (sdd->applet), GTK_WIDGET(sdd->applet)); - action_group = gtk_action_group_new("ShowDesktop Applet Actions"); gtk_action_group_set_translation_domain(action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions(action_group, show_desktop_menu_actions, G_N_ELEMENTS (show_desktop_menu_actions), sdd); diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index e7acd7d6..96c871c6 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -790,8 +790,6 @@ gboolean window_list_applet_fill(MatePanelApplet* applet) g_signal_connect(G_OBJECT(tasklist->applet), "change_size", G_CALLBACK(applet_change_pixel_size), tasklist); g_signal_connect(G_OBJECT(tasklist->applet), "change_background", G_CALLBACK(applet_change_background), tasklist); - mate_panel_applet_set_background_widget(MATE_PANEL_APPLET(tasklist->applet), GTK_WIDGET(tasklist->applet)); - action_group = gtk_action_group_new("Tasklist Applet Actions"); gtk_action_group_set_translation_domain(action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions(action_group, tasklist_menu_actions, G_N_ELEMENTS(tasklist_menu_actions), tasklist); diff --git a/applets/wncklet/window-menu.c b/applets/wncklet/window-menu.c index 48b1c31b..a8e7b51b 100644 --- a/applets/wncklet/window-menu.c +++ b/applets/wncklet/window-menu.c @@ -253,8 +253,6 @@ gboolean window_menu_applet_fill(MatePanelApplet* applet) if (GDK_IS_X11_DISPLAY (gdk_display_get_default ())) { window_menu->selector = wnck_selector_new(); - mate_panel_applet_set_background_widget(MATE_PANEL_APPLET(window_menu->applet), GTK_WIDGET(window_menu->selector)); - } else #endif /* HAVE_X11 */ diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c index 2335bb1d..31bd2853 100644 --- a/applets/wncklet/workspace-switcher.c +++ b/applets/wncklet/workspace-switcher.c @@ -646,8 +646,6 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet) gtk_widget_show(pager->pager); gtk_widget_show(pager->applet); - mate_panel_applet_set_background_widget(MATE_PANEL_APPLET(pager->applet), GTK_WIDGET(pager->applet)); - action_group = gtk_action_group_new("WorkspaceSwitcher Applet Actions"); gtk_action_group_set_translation_domain(action_group, GETTEXT_PACKAGE); gtk_action_group_add_actions(action_group, pager_menu_actions, G_N_ELEMENTS(pager_menu_actions), pager); |