[Xfce4-commits] [xfce/xfdesktop] 02/02: Remove unused functions
noreply at xfce.org
noreply at xfce.org
Sun Mar 17 17:08:08 CET 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfdesktop.
commit ec835f53be3a8ff6b9cb0058e3752ec25c6b13db
Author: Andre Miranda <andreldm at xfce.org>
Date: Sun Mar 17 13:07:49 2019 -0300
Remove unused functions
---
src/xfce-desktop.c | 16 ----------------
src/xfce-desktop.h | 3 ---
2 files changed, 19 deletions(-)
diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index e84ce5d..6530610 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -1585,22 +1585,6 @@ xfce_desktop_get_n_monitors(XfceDesktop *desktop)
return gdk_display_get_n_monitors(gdk_screen_get_display(desktop->priv->gscreen));
}
-gint
-xfce_desktop_get_width(XfceDesktop *desktop)
-{
- g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), -1);
-
- return gdk_screen_get_width(desktop->priv->gscreen);
-}
-
-gint
-xfce_desktop_get_height(XfceDesktop *desktop)
-{
- g_return_val_if_fail(XFCE_IS_DESKTOP(desktop), -1);
-
- return gdk_screen_get_height(desktop->priv->gscreen);
-}
-
void
xfce_desktop_set_icon_style(XfceDesktop *desktop,
XfceDesktopIconStyle style)
diff --git a/src/xfce-desktop.h b/src/xfce-desktop.h
index 8caadd2..ff44a68 100644
--- a/src/xfce-desktop.h
+++ b/src/xfce-desktop.h
@@ -79,9 +79,6 @@ GtkWidget *xfce_desktop_new(GdkScreen *gscreen,
gint xfce_desktop_get_n_monitors(XfceDesktop *desktop);
-gint xfce_desktop_get_width(XfceDesktop *desktop);
-gint xfce_desktop_get_height(XfceDesktop *desktop);
-
void xfce_desktop_set_icon_style(XfceDesktop *desktop,
XfceDesktopIconStyle style);
XfceDesktopIconStyle xfce_desktop_get_icon_style(XfceDesktop *desktop);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list