[gnome-panel] libpanel-applet: remove panel_applet_set_background_widget
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] libpanel-applet: remove panel_applet_set_background_widget
- Date: Tue, 26 Jul 2016 21:52:44 +0000 (UTC)
commit 5ba8ca04a6829d929f208623e2b67c0eac02d389
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jul 27 00:52:08 2016 +0300
libpanel-applet: remove panel_applet_set_background_widget
libpanel-applet/panel-applet.c | 17 -----------------
libpanel-applet/panel-applet.h | 3 ---
2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/libpanel-applet/panel-applet.c b/libpanel-applet/panel-applet.c
index 7a10ef2..962d9b9 100644
--- a/libpanel-applet/panel-applet.c
+++ b/libpanel-applet/panel-applet.c
@@ -2343,23 +2343,6 @@ panel_applet_factory_setup_in_process (const gchar *factory_id,
callback, data);
}
-/**
- * panel_applet_set_background_widget:
- * @applet: a #PanelApplet.
- * @widget: a #GtkWidget.
- *
- * Configure #PanelApplet to automatically draw the background of the applet on
- * @widget. It is generally enough to call this function with @applet as
- * @widget.
- *
- * Deprecated: 3.20: Do not use this API. Since 3.20 this function does nothing.
- **/
-void
-panel_applet_set_background_widget (PanelApplet *applet,
- GtkWidget *widget)
-{
-}
-
guint32
panel_applet_get_xid (PanelApplet *applet,
GdkScreen *screen)
diff --git a/libpanel-applet/panel-applet.h b/libpanel-applet/panel-applet.h
index ee6c085..96feaa6 100644
--- a/libpanel-applet/panel-applet.h
+++ b/libpanel-applet/panel-applet.h
@@ -169,9 +169,6 @@ PanelAppletOrient panel_applet_get_orient (PanelApplet *applet);
GtkOrientation panel_applet_get_gtk_orientation (PanelApplet *applet);
cairo_pattern_t *panel_applet_get_background (PanelApplet *applet);
-void panel_applet_set_background_widget (PanelApplet *applet,
- GtkWidget *widget);
-
GSettings *panel_applet_settings_new (PanelApplet *applet,
const char *schema);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]