summaryrefslogtreecommitdiff
path: root/plugins/xrandr
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2018-08-28 00:01:52 -0400
committerlukefromdc <[email protected]>2018-08-28 16:04:21 -0400
commit3c9e5dd101a435d1bf9bef938668a04d5939a537 (patch)
tree621ddb137547ca319388957e3a0435e223147ad6 /plugins/xrandr
parente0b7a6bd974028c325aa6a7c93e7b662b990faef (diff)
downloadmate-settings-daemon-3c9e5dd101a435d1bf9bef938668a04d5939a537.tar.bz2
mate-settings-daemon-3c9e5dd101a435d1bf9bef938668a04d5939a537.tar.xz
Xrandr:remove an unused function
Diffstat (limited to 'plugins/xrandr')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index fb15bf8..fff0c9b 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -642,16 +642,6 @@ is_laptop (MateRRScreen *screen, MateRROutputInfo *output)
}
static gboolean
-is_primary (MateRRScreen *screen, MateRROutputInfo *output)
-{
- MateRROutput *rr_output;
-
- rr_output = mate_rr_screen_get_output_by_name (screen, mate_rr_output_info_get_name (output));
- return mate_rr_output_get_is_primary(rr_output);
-}
-
-
-static gboolean
get_clone_size (MateRRScreen *screen, int *width, int *height)
{
MateRRMode **modes = mate_rr_screen_list_clone_modes (screen);