summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-20 21:23:21 +0200
committerinfirit <[email protected]>2015-07-30 00:15:48 +0200
commitb6f2d9f8f4a82d1ddf075b2817d442f42840eb48 (patch)
tree18f0726a83435ccd2edd1bec40ef646dd047c724 /libmate-desktop/mate-bg.c
parentb4af7eca1d880dd497fe8d9581905f950176378b (diff)
downloadmate-desktop-b6f2d9f8f4a82d1ddf075b2817d442f42840eb48.tar.bz2
mate-desktop-b6f2d9f8f4a82d1ddf075b2817d442f42840eb48.tar.xz
Add annotations and fix documentation syntax warnings
Diffstat (limited to 'libmate-desktop/mate-bg.c')
-rw-r--r--libmate-desktop/mate-bg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c
index beb0e90..4c45821 100644
--- a/libmate-desktop/mate-bg.c
+++ b/libmate-desktop/mate-bg.c
@@ -1149,7 +1149,7 @@ mate_bg_get_pixmap_size (MateBG *bg,
* @window:
* @width:
* @height:
- * @is_root:
+ * @root:
*
* Create a surface that can be set as background for @window. If @is_root is
* TRUE, the surface created will be created by a temporary X server connection
@@ -1166,7 +1166,7 @@ mate_bg_create_pixmap (MateBG *bg,
GdkWindow *window,
int width,
int height,
- gboolean is_root)
+ gboolean root)
{
int pm_width, pm_height;
@@ -1187,7 +1187,7 @@ mate_bg_create_pixmap (MateBG *bg,
mate_bg_get_pixmap_size (bg, width, height, &pm_width, &pm_height);
- if (is_root)
+ if (root)
{
surface = make_root_pixmap (window, pm_width, pm_height);
}
@@ -1211,7 +1211,7 @@ mate_bg_create_pixmap (MateBG *bg,
pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
width, height);
- mate_bg_draw (bg, pixbuf, gdk_window_get_screen (window), is_root);
+ mate_bg_draw (bg, pixbuf, gdk_window_get_screen (window), root);
gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0);
g_object_unref (pixbuf);
}