summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-rr-output-info.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-08 01:24:39 +0100
committerinfirit <[email protected]>2014-11-28 08:51:50 +0100
commitf7a44ef9fc8c20f9c26350c710efae5cf68a6ff2 (patch)
tree1b29edb5ff6992c524960717aefbf6703ef30553 /libmate-desktop/mate-rr-output-info.c
parent3a2edbb177ad591f66ed3adf756390837165705c (diff)
downloadmate-desktop-f7a44ef9fc8c20f9c26350c710efae5cf68a6ff2.tar.bz2
mate-desktop-f7a44ef9fc8c20f9c26350c710efae5cf68a6ff2.tar.xz
MateRROutputInfo: rename boolean accessors
Rename get_connected() to is_connected() and get_active() to is_active(), following the normal convention. Based on gnome-desktop commit: 46d48ab6ec256498d0dd0a5c97c0388381971cbf From: Giovanni Campagna <[email protected]>
Diffstat (limited to 'libmate-desktop/mate-rr-output-info.c')
-rw-r--r--libmate-desktop/mate-rr-output-info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmate-desktop/mate-rr-output-info.c b/libmate-desktop/mate-rr-output-info.c
index 0020541..896b010 100644
--- a/libmate-desktop/mate-rr-output-info.c
+++ b/libmate-desktop/mate-rr-output-info.c
@@ -76,11 +76,11 @@ char *mate_rr_output_info_get_name (MateRROutputInfo *self)
}
/**
- * mate_rr_output_info_get_active:
+ * mate_rr_output_info_is_active:
*
* Returns: whether there is a CRTC assigned to this output (i.e. a signal is being sent to it)
*/
-gboolean mate_rr_output_info_get_active (MateRROutputInfo *self)
+gboolean mate_rr_output_info_is_active (MateRROutputInfo *self)
{
g_return_val_if_fail (MATE_IS_RR_OUTPUT_INFO (self), FALSE);
@@ -156,11 +156,11 @@ void mate_rr_output_info_set_rotation (MateRROutputInfo *self, MateRRRotation ro
}
/**
- * mate_rr_output_info_get_connected:
+ * mate_rr_output_info_is_connected:
*
* Returns: whether the output is physically connected to a monitor
*/
-gboolean mate_rr_output_info_get_connected (MateRROutputInfo *self)
+gboolean mate_rr_output_info_is_connected (MateRROutputInfo *self)
{
g_return_val_if_fail (MATE_IS_RR_OUTPUT_INFO (self), FALSE);