Magellan Linux

Contents of /trunk/xfdesktop/patches/xfdesktop-4.6.2-assert.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1065 - (show annotations) (download)
Mon Aug 9 12:48:59 2010 UTC (13 years, 8 months ago) by niro
File size: 814 byte(s)
-added xfce patches

1 diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
2 index 0d7ba89..c6717ff 100644
3 --- a/src/xfdesktop-icon-view.c
4 +++ b/src/xfdesktop-icon-view.c
5 @@ -2591,12 +2591,14 @@ xfdesktop_icon_view_paint_icon(XfdesktopIconView *icon_view,
6 GdkRectangle pix_area, text_area, intersection, adj_area;
7 const gchar *label;
8 guint16 row, col;
9 + gboolean ret = FALSE;
10 gchar x_offset = 0, y_offset = 0;
11 GdkColor *sh_text_col = NULL;
12
13 /*TRACE("entering (%s)", xfdesktop_icon_peek_label(icon));*/
14
15 - g_return_if_fail(xfdesktop_icon_get_position(icon, &row, &col));
16 + ret = xfdesktop_icon_get_position(icon, &row, &col);
17 + g_return_if_fail(ret);
18
19 if(g_list_find(icon_view->priv->selected_icons, icon)) {
20 if(GTK_WIDGET_FLAGS(widget) & GTK_HAS_FOCUS)