|
|
Author: mbarnes
Update of /cvs/dist/rpms/evolution/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11998
Modified Files:
evolution.spec
Added Files:
evolution-2.7.92-deprecated-gdk.patch
evolution-2.7.92-deprecated-glib.patch
Log Message:
* Wed Aug 23 2006 Matthew Barnes <mbarnes@xxxxxxxxxx> - 2.7.92-4.fc6
- Add patches for Gnome.org bug #352450.
evolution-2.7.92-deprecated-gdk.patch:
calendar/gui/calendar-commands.c | 2 +-
calendar/gui/e-day-view-main-item.c | 12 ++++++------
calendar/gui/e-day-view-top-item.c | 12 ++++++------
calendar/gui/e-meeting-time-sel-item.c | 6 +++---
calendar/gui/e-meeting-time-sel.c | 2 +-
calendar/gui/e-week-view-event-item.c | 12 ++++++------
e-util/e-cursor.c | 2 +-
widgets/misc/e-canvas-background.c | 6 +++---
widgets/misc/e-cursors.c | 2 +-
widgets/misc/e-map.c | 26 +++++++++++++-------------
widgets/misc/e-reflow.c | 4 ++--
widgets/misc/e-task-widget.c | 4 ++--
widgets/misc/gal-combo-box.c | 6 +++---
widgets/table/e-cell-text.c | 4 ++--
widgets/table/e-cell-toggle.c | 6 +++---
widgets/table/e-table-field-chooser-item.c | 4 ++--
widgets/table/e-table-field-chooser.c | 2 +-
widgets/table/e-table-header-item.c | 12 ++++++------
widgets/table/e-table-header-utils.c | 4 ++--
widgets/table/e-table-item.c | 2 +-
widgets/table/e-table.c | 2 +-
widgets/table/e-tree.c | 2 +-
widgets/text/e-text.c | 10 +++++-----
23 files changed, 72 insertions(+), 72 deletions(-)
--- NEW FILE evolution-2.7.92-deprecated-gdk.patch ---
--- evolution-2.7.92/widgets/misc/gal-combo-box.c.deprecated-gdk
2006-01-11 05:33:24.000000000 -0500
+++ evolution-2.7.92/widgets/misc/gal-combo-box.c 2006-08-23
10:42:12.000000000 -0400
@@ -429,7 +429,7 @@
gtk_widget_realize (combo_box->priv->popup);
cursor = gdk_cursor_new (GDK_TOP_LEFT_ARROW);
gdk_window_set_cursor (combo_box->priv->popup->window, cursor);
- gdk_cursor_destroy (cursor);
+ gdk_cursor_unref (cursor);
combo_box->priv->torn_off = FALSE;
combo_box->priv->tearoff_window = NULL;
@@ -607,7 +607,7 @@
widget->allocation.height,
-1);
- gdk_draw_pixmap (pixmap, gc,
+ gdk_draw_drawable (GDK_DRAWABLE (pixmap), gc,
widget->window,
0, 0, 0, 0, -1, -1);
gdk_gc_unref (gc);
@@ -618,7 +618,7 @@
gdk_window_set_back_pixmap
(combo->priv->tearoff_window->window, pixmap, FALSE);
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
}
}
--- evolution-2.7.92/widgets/misc/e-reflow.c.deprecated-gdk 2006-02-28
05:49:36.000000000 -0500
+++ evolution-2.7.92/widgets/misc/e-reflow.c 2006-08-23 10:42:12.000000000
-0400
@@ -882,8 +882,8 @@
if (!item->canvas->aa) {
}
- gdk_cursor_destroy (reflow->arrow_cursor);
- gdk_cursor_destroy (reflow->default_cursor);
+ gdk_cursor_unref (reflow->arrow_cursor);
+ gdk_cursor_unref (reflow->default_cursor);
reflow->arrow_cursor = NULL;
reflow->default_cursor = NULL;
--- evolution-2.7.92/widgets/misc/e-map.c.deprecated-gdk 2006-06-08
23:31:23.000000000 -0400
+++ evolution-2.7.92/widgets/misc/e-map.c 2006-08-23 10:42:12.000000000
-0400
@@ -319,7 +319,7 @@
attr.height = widget->allocation.height;
attr.wclass = GDK_INPUT_OUTPUT;
attr.visual = gdk_rgb_get_visual ();
- attr.colormap = gdk_rgb_get_cmap ();
+ attr.colormap = gdk_rgb_get_colormap ();
attr.event_mask = gtk_widget_get_events (widget) |
GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_KEY_PRESS_MASK |
GDK_POINTER_MOTION_MASK;
@@ -1277,9 +1277,9 @@
gc = gdk_gc_new (window);
gdk_gc_set_exposures (gc, TRUE);
- gdk_window_copy_area (window, gc, dest_x, dest_y, window, src_x, src_y,
width - abs (xofs), height - abs (yofs));
+ gdk_draw_drawable (GDK_DRAWABLE (window), gc, GDK_DRAWABLE (window),
src_x, src_y, dest_x, dest_y, width - abs (xofs), height - abs (yofs));
- gdk_gc_destroy (gc);
+ g_object_unref (gc);
/* Add the scrolled-in region */
@@ -1429,7 +1429,7 @@
/* Get area constraints */
- gdk_window_get_size (window, &area_width, &area_height);
+ gdk_drawable_get_size (GDK_DRAWABLE (window), &area_width,
&area_height);
/* Initialize area division array indexes */
@@ -1487,9 +1487,9 @@
/* Push left */
for (j = 0; j < zoom_chunk - 1; j++)
- gdk_window_copy_area (window, gc, line
+ j + 1, 0, window, line, 0, 1, area_height);
+ gdk_draw_drawable (GDK_DRAWABLE
(window), gc, GDK_DRAWABLE (window), line, 0, line + j + 1, 0, 1, area_height);
- gdk_window_copy_area (window, gc, 0, 0, window,
zoom_chunk, 0, line, area_height);
+ gdk_draw_drawable (GDK_DRAWABLE (window), gc,
GDK_DRAWABLE (window), zoom_chunk, 0, 0, 0, line, area_height);
if (line > target_x) target_x -= zoom_chunk;
}
else
@@ -1497,9 +1497,9 @@
/* Push right */
for (j = 0; j < zoom_chunk - 1; j++)
- gdk_window_copy_area (window, gc, line
+ j - (zoom_chunk - 1), 0, window, line - zoom_chunk, 0, 1, area_height);
+ gdk_draw_drawable (GDK_DRAWABLE
(window), gc, GDK_DRAWABLE (window), line - zoom_chunk, 0, line + j -
(zoom_chunk - 1), 0, 1, area_height);
- gdk_window_copy_area (window, gc, line, 0,
window, line - zoom_chunk, 0, area_width - line, area_height);
+ gdk_draw_drawable (GDK_DRAWABLE (window), gc,
GDK_DRAWABLE (window), line - zoom_chunk, 0, line, 0, area_width - line,
area_height);
if (line < target_x) target_x += zoom_chunk;
}
}
@@ -1515,9 +1515,9 @@
/* Push up */
for (j = 0; j < zoom_chunk - 1; j++)
- gdk_window_copy_area (window, gc, 0,
line + j + 1, window, 0, line, area_width, 1);
+ gdk_draw_drawable (GDK_DRAWABLE
(window), gc, GDK_DRAWABLE (window), 0, line, 0, line + j + 1, area_width, 1);
- gdk_window_copy_area (window, gc, 0, 0, window,
0, zoom_chunk, area_width, line);
+ gdk_draw_drawable (GDK_DRAWABLE (window), gc,
GDK_DRAWABLE (window), 0, zoom_chunk, 0, 0, area_width, line);
if (line > target_y) target_y -= zoom_chunk;
}
else
@@ -1525,9 +1525,9 @@
/* Push down */
for (j = 0; j < zoom_chunk - 1; j++)
- gdk_window_copy_area (window, gc, 0,
line + j - (zoom_chunk - 1), window, 0, line - zoom_chunk, area_width, 1);
+ gdk_draw_drawable (GDK_DRAWABLE
(window), gc, GDK_WINDOW (window), 0, line - zoom_chunk, 0, line + j -
(zoom_chunk - 1), area_width, 1);
- gdk_window_copy_area (window, gc, 0, line,
window, 0, line - zoom_chunk, area_width, area_height - line);
+ gdk_draw_drawable (GDK_DRAWABLE (window), gc,
GDK_DRAWABLE (window), 0, line - zoom_chunk, 0, line, area_width, area_height -
line);
if (line < target_y) target_y += zoom_chunk;
}
}
@@ -1540,7 +1540,7 @@
/* Free our GC */
- gdk_gc_destroy (gc);
+ g_object_unref (gc);
}
--- evolution-2.7.92/widgets/misc/e-cursors.c.deprecated-gdk 2005-04-29
10:18:18.000000000 -0400
+++ evolution-2.7.92/widgets/misc/e-cursors.c 2006-08-23 10:42:12.000000000
-0400
@@ -143,7 +143,7 @@
int i;
for (i = 0; cursors [i].hot_x; i++)
- gdk_cursor_destroy (cursors [i].cursor);
+ gdk_cursor_unref (cursors [i].cursor);
}
--- evolution-2.7.92/widgets/misc/e-canvas-background.c.deprecated-gdk
2006-01-30 07:28:04.000000000 -0500
+++ evolution-2.7.92/widgets/misc/e-canvas-background.c 2006-08-23
10:42:12.000000000 -0400
@@ -161,11 +161,11 @@
{
if (use_value) {
if (ecb->priv->stipple)
- gdk_bitmap_unref (ecb->priv->stipple);
+ g_object_unref (ecb->priv->stipple);
ecb->priv->stipple = stipple;
if (stipple)
- gdk_bitmap_ref (stipple);
+ g_object_ref (stipple);
}
if (ecb->priv->gc) {
@@ -184,7 +184,7 @@
if (ecb->priv) {
if (ecb->priv->stipple)
- gdk_bitmap_unref (ecb->priv->stipple);
+ g_object_unref (ecb->priv->stipple);
ecb->priv->stipple = NULL;
g_free (ecb->priv);
--- evolution-2.7.92/widgets/misc/e-task-widget.c.deprecated-gdk
2004-11-26 10:15:36.000000000 -0500
+++ evolution-2.7.92/widgets/misc/e-task-widget.c 2006-08-23
10:42:12.000000000 -0400
@@ -162,9 +162,9 @@
gtk_widget_show (priv->label);
gtk_box_pack_start (GTK_BOX (box), priv->label, TRUE, TRUE, 0);
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
priv->tooltips = gtk_tooltips_new ();
g_object_ref (priv->tooltips);
--- evolution-2.7.92/widgets/table/e-cell-text.c.deprecated-gdk 2006-08-21
00:11:42.000000000 -0400
+++ evolution-2.7.92/widgets/table/e-cell-text.c 2006-08-23
10:42:12.000000000 -0400
@@ -425,9 +425,9 @@
}
if (text_view->stipple)
- gdk_bitmap_unref (text_view->stipple);
+ g_object_unref (text_view->stipple);
- gdk_cursor_destroy (text_view->i_cursor);
+ gdk_cursor_unref (text_view->i_cursor);
if (ect->colors) {
colormap = gtk_widget_get_colormap (GTK_WIDGET
(text_view->canvas));
--- evolution-2.7.92/widgets/table/e-table-item.c.deprecated-gdk
2006-03-02 00:39:57.000000000 -0500
+++ evolution-2.7.92/widgets/table/e-table-item.c 2006-08-23
10:42:12.000000000 -0400
@@ -1793,7 +1793,7 @@
eti->grid_gc = NULL;
gdk_gc_unref (eti->focus_gc);
eti->focus_gc = NULL;
- gdk_bitmap_unref (eti->stipple);
+ g_object_unref (eti->stipple);
eti->stipple = NULL;
eti_unrealize_cell_views (eti);
--- evolution-2.7.92/widgets/table/e-table-header-utils.c.deprecated-gdk
2006-06-12 06:26:47.000000000 -0400
+++ evolution-2.7.92/widgets/table/e-table-header-utils.c 2006-08-23
10:42:12.000000000 -0400
@@ -455,12 +455,12 @@
gdk_gc_set_clip_rectangle (gc, NULL);
if (pixmap) {
- gdk_draw_pixmap (drawable, gc, pixmap,
+ gdk_draw_drawable (drawable, gc, pixmap,
0, 0,
xpos,
inner_y + (inner_height - clip_height)
/ 2,
clip_width, clip_height);
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
}
} else {
e_table_draw_elided_string (drawable, gc, widget,
--- evolution-2.7.92/widgets/table/e-table-field-chooser-item.c.deprecated-gdk
2006-01-30 07:28:20.000000000 -0500
+++ evolution-2.7.92/widgets/table/e-table-field-chooser-item.c 2006-08-23
10:42:12.000000000 -0400
@@ -564,12 +564,12 @@
E_TABLE_COL_ARROW_NONE);
gtk_drag_set_icon_pixmap (context,
- gdk_window_get_colormap
(widget->window),
+ gdk_drawable_get_colormap
(GDK_DRAWABLE (widget->window)),
pixmap,
NULL,
etfci->width / 2,
button_height / 2);
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
etfci->maybe_drag = FALSE;
}
--- evolution-2.7.92/widgets/table/e-tree.c.deprecated-gdk 2006-01-30
07:28:21.000000000 -0500
+++ evolution-2.7.92/widgets/table/e-tree.c 2006-08-23 10:42:12.000000000
-0400
@@ -1376,7 +1376,7 @@
et_connect_to_etta (e_tree);
- gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+ gtk_widget_push_colormap (gdk_rgb_get_colormap ());
e_tree->priv->sorter = e_sorter_new();
--- evolution-2.7.92/widgets/table/e-table-field-chooser.c.deprecated-gdk
2006-01-30 07:28:20.000000000 -0500
+++ evolution-2.7.92/widgets/table/e-table-field-chooser.c 2006-08-23
10:42:12.000000000 -0400
@@ -167,7 +167,7 @@
gtk_widget_reparent(widget,
GTK_WIDGET(etfc));
- gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+ gtk_widget_push_colormap (gdk_rgb_get_colormap ());
etfc->canvas = GNOME_CANVAS(glade_xml_get_widget(gui,
"canvas-buttons"));
--- evolution-2.7.92/widgets/table/e-table.c.deprecated-gdk 2006-01-30
07:28:21.000000000 -0500
+++ evolution-2.7.92/widgets/table/e-table.c 2006-08-23 10:42:12.000000000
-0400
@@ -1533,7 +1533,7 @@
e_table->model = etm;
g_object_ref (etm);
- gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+ gtk_widget_push_colormap (gdk_rgb_get_colormap ());
connect_header (e_table, state);
e_table->horizontal_scrolling = specification->horizontal_scrolling;
--- evolution-2.7.92/widgets/table/e-cell-toggle.c.deprecated-gdk
2006-01-30 07:28:20.000000000 -0500
+++ evolution-2.7.92/widgets/table/e-cell-toggle.c 2006-08-23
10:42:12.000000000 -0400
@@ -97,7 +97,7 @@
for (i = 0; i < etog->n_states * CACHE_SEQ_COUNT; i++)
if (toggle_view->pixmap_cache[i])
- gdk_pixmap_unref (toggle_view->pixmap_cache[i]);
+ g_object_unref (toggle_view->pixmap_cache[i]);
g_free (toggle_view->pixmap_cache);
g_free (ecell_view);
}
@@ -236,7 +236,7 @@
height = gdk_pixbuf_get_height (image);
}
- gdk_draw_pixmap (drawable, toggle_view->gc,
+ gdk_draw_drawable (drawable, toggle_view->gc,
pixmap,
0, 0,
x, y,
@@ -369,7 +369,7 @@
for (i = 0; i < toggle->n_states * CACHE_SEQ_COUNT; i++) {
if (toggle_view->pixmap_cache[i]) {
- gdk_pixmap_unref (toggle_view->pixmap_cache[i]);
+ g_object_unref (toggle_view->pixmap_cache[i]);
toggle_view->pixmap_cache[i] = NULL;
}
}
--- evolution-2.7.92/widgets/table/e-table-header-item.c.deprecated-gdk
2006-06-12 06:26:47.000000000 -0400
+++ evolution-2.7.92/widgets/table/e-table-header-item.c 2006-08-23
10:42:12.000000000 -0400
@@ -491,7 +491,7 @@
gdk_pixbuf_render_pixmap_and_mask (pixbuf, &pixmap, &bitmap, 128);
gdk_pixbuf_unref (pixbuf);
- gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+ gtk_widget_push_colormap (gdk_rgb_get_colormap ());
win = gtk_window_new (GTK_WINDOW_POPUP);
pix = gtk_image_new_from_pixmap (pixmap, bitmap);
@@ -500,8 +500,8 @@
gtk_widget_shape_combine_mask (win, bitmap, 0, 0);
gtk_widget_pop_colormap ();
- gdk_pixmap_unref (pixmap);
- gdk_bitmap_unref (bitmap);
+ g_object_unref (pixmap);
+ g_object_unref (bitmap);
return win;
}
@@ -950,7 +950,7 @@
gtk_drag_dest_unset (GTK_WIDGET (item->canvas));
if (ethi->stipple){
- gdk_bitmap_unref (ethi->stipple);
+ g_object_unref (ethi->stipple);
ethi->stipple = NULL;
}
@@ -1216,12 +1216,12 @@
arrows, GINT_TO_POINTER (ecol->col_idx)));
gtk_drag_set_icon_pixmap (
context,
- gdk_window_get_colormap (widget->window),
+ gdk_drawable_get_colormap (GDK_DRAWABLE (widget->window)),
pixmap,
NULL,
col_width / 2,
ethi->height / 2);
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
ethi->maybe_drag = FALSE;
g_hash_table_destroy (arrows);
--- evolution-2.7.92/widgets/text/e-text.c.deprecated-gdk 2006-07-22
07:14:57.000000000 -0400
+++ evolution-2.7.92/widgets/text/e-text.c 2006-08-23 10:42:12.000000000
-0400
@@ -229,7 +229,7 @@
text->revert = NULL;
if (text->stipple)
- gdk_bitmap_unref (text->stipple);
+ g_object_unref (text->stipple);
text->stipple = NULL;
if (text->timeout_id) {
@@ -645,11 +645,11 @@
set_stipple (EText *text, GdkBitmap *stipple, int reconfigure)
{
if (text->stipple && !reconfigure)
- gdk_bitmap_unref (text->stipple);
+ g_object_unref (text->stipple);
text->stipple = stipple;
if (stipple && !reconfigure)
- gdk_bitmap_ref (stipple);
+ g_object_ref (stipple);
if (text->gc) {
if (stipple) {
@@ -1263,9 +1263,9 @@
gdk_gc_unref (text->gc);
text->gc = NULL;
- gdk_cursor_destroy (text->i_cursor);
+ gdk_cursor_unref (text->i_cursor);
text->i_cursor = NULL;
- gdk_cursor_destroy (text->default_cursor);
+ gdk_cursor_unref (text->default_cursor);
text->default_cursor = NULL;
if (parent_class->unrealize)
--- evolution-2.7.92/e-util/e-cursor.c.deprecated-gdk 2005-06-08
07:46:48.000000000 -0400
+++ evolution-2.7.92/e-util/e-cursor.c 2006-08-23 10:42:12.000000000 -0400
@@ -61,7 +61,7 @@
}
gdk_window_set_cursor (toplevel->window, window_cursor);
- gdk_cursor_destroy (window_cursor);
+ gdk_cursor_unref (window_cursor);
}
}
--- evolution-2.7.92/calendar/gui/e-day-view-top-item.c.deprecated-gdk
2006-05-09 05:02:30.000000000 -0400
+++ evolution-2.7.92/calendar/gui/e-day-view-top-item.c 2006-08-23
10:42:12.000000000 -0400
@@ -572,7 +572,7 @@
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_DAY_VIEW_ICON_WIDTH,
@@ -580,9 +580,9 @@
icon_x -= icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
e_cal_component_free_categories_list (categories_list);
@@ -1158,7 +1158,7 @@
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_DAY_VIEW_ICON_WIDTH,
@@ -1166,9 +1166,9 @@
icon_x -= icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
e_cal_component_free_categories_list (categories_list);
--- evolution-2.7.92/calendar/gui/e-day-view-main-item.c.deprecated-gdk
2006-08-07 00:47:42.000000000 -0400
+++ evolution-2.7.92/calendar/gui/e-day-view-main-item.c 2006-08-23
10:42:12.000000000 -0400
@@ -795,7 +795,7 @@
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
MIN (E_DAY_VIEW_ICON_WIDTH,
@@ -803,9 +803,9 @@
MIN (E_DAY_VIEW_ICON_HEIGHT,
max_icon_h));
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
icon_x += icon_x_inc;
icon_y += icon_y_inc;
@@ -1930,7 +1930,7 @@
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
MIN (E_DAY_VIEW_ICON_WIDTH,
@@ -1938,9 +1938,9 @@
MIN (E_DAY_VIEW_ICON_HEIGHT,
max_icon_h));
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
icon_x += icon_x_inc;
icon_y += icon_y_inc;
--- evolution-2.7.92/calendar/gui/e-week-view-event-item.c.deprecated-gdk
2006-08-19 01:49:09.000000000 -0400
+++ evolution-2.7.92/calendar/gui/e-week-view-event-item.c 2006-08-23
10:42:12.000000000 -0400
@@ -704,16 +704,16 @@
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_WEEK_VIEW_ICON_WIDTH,
E_WEEK_VIEW_ICON_HEIGHT);
icon_x += icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
e_cal_component_free_categories_list (categories_list);
@@ -1388,16 +1388,16 @@
gdk_gc_set_clip_origin (gc, icon_x, icon_y);
if (mask != NULL)
gdk_gc_set_clip_mask (gc, mask);
- gdk_draw_pixmap (drawable, gc,
+ gdk_draw_drawable (drawable, gc,
pixmap,
0, 0, icon_x, icon_y,
E_WEEK_VIEW_ICON_WIDTH,
E_WEEK_VIEW_ICON_HEIGHT);
icon_x += icon_x_inc;
}
- gdk_pixmap_unref (pixmap);
+ g_object_unref (pixmap);
if (mask != NULL)
- gdk_bitmap_unref (mask);
+ g_object_unref (mask);
}
cairo_destroy (cr);
--- evolution-2.7.92/calendar/gui/calendar-commands.c.deprecated-gdk
2006-01-29 23:27:10.000000000 -0500
+++ evolution-2.7.92/calendar/gui/calendar-commands.c 2006-08-23
10:42:12.000000000 -0400
@@ -154,7 +154,7 @@
cursor = gdk_cursor_new (GDK_WATCH);
gdk_window_set_cursor (GTK_WIDGET (gcal)->window, cursor);
- gdk_cursor_destroy (cursor);
+ gdk_cursor_unref (cursor);
gdk_flush ();
}
--- evolution-2.7.92/calendar/gui/e-meeting-time-sel-item.c.deprecated-gdk
2006-07-22 07:14:51.000000000 -0400
+++ evolution-2.7.92/calendar/gui/e-meeting-time-sel-item.c 2006-08-23
10:42:12.000000000 -0400
@@ -159,15 +159,15 @@
mts_item = E_MEETING_TIME_SELECTOR_ITEM (object);
if (mts_item->normal_cursor) {
- gdk_cursor_destroy (mts_item->normal_cursor);
+ gdk_cursor_unref (mts_item->normal_cursor);
mts_item->normal_cursor = NULL;
}
if (mts_item->resize_cursor) {
- gdk_cursor_destroy (mts_item->resize_cursor);
+ gdk_cursor_unref (mts_item->resize_cursor);
mts_item->resize_cursor = NULL;
}
if (mts_item->busy_cursor) {
- gdk_cursor_destroy (mts_item->busy_cursor);
+ gdk_cursor_unref (mts_item->busy_cursor);
mts_item->busy_cursor = NULL;
}
--- evolution-2.7.92/calendar/gui/e-meeting-time-sel.c.deprecated-gdk
2006-07-22 07:14:51.000000000 -0400
+++ evolution-2.7.92/calendar/gui/e-meeting-time-sel.c 2006-08-23
10:42:12.000000000 -0400
@@ -822,7 +822,7 @@
e_meeting_time_selector_remove_timeout (mts);
if (mts->stipple) {
- gdk_bitmap_unref (mts->stipple);
+ g_object_unref (mts->stipple);
mts->stipple = NULL;
}
evolution-2.7.92-deprecated-glib.patch:
calendar/gui/e-meeting-list-view.c | 2 +-
widgets/table/e-tree-memory.c | 9 ++-------
widgets/table/e-tree-sorted.c | 9 ++-------
3 files changed, 5 insertions(+), 15 deletions(-)
--- NEW FILE evolution-2.7.92-deprecated-glib.patch ---
--- evolution-2.7.92/widgets/table/e-tree-memory.c.deprecated-glib
2005-06-17 11:20:34.000000000 -0400
+++ evolution-2.7.92/widgets/table/e-tree-memory.c 2006-08-23
10:41:16.000000000 -0400
@@ -38,10 +38,7 @@
#include "e-tree-memory.h"
-#define TREEPATH_CHUNK_AREA_SIZE (30 * sizeof (ETreeMemoryPath))
-
static ETreeModelClass *parent_class;
-static GMemChunk *node_chunk;
enum {
FILL_IN_CHILDREN,
@@ -358,8 +355,6 @@
parent_class = g_type_class_peek_parent (klass);
- node_chunk = g_mem_chunk_create (ETreeMemoryPath,
TREEPATH_CHUNK_AREA_SIZE, G_ALLOC_AND_FREE);
-
signals [FILL_IN_CHILDREN] =
g_signal_new ("fill_in_children",
E_OBJECT_CLASS_TYPE (object_class),
@@ -509,7 +504,7 @@
if (!tree_model->priv->frozen)
e_tree_model_pre_change(E_TREE_MODEL(tree_model));
- new_path = g_chunk_new0 (ETreeMemoryPath, node_chunk);
+ new_path = g_slice_new0 (ETreeMemoryPath);
new_path->node_data = node_data;
new_path->children_computed = FALSE;
@@ -584,7 +579,7 @@
etree->priv->destroy_func (node->node_data,
etree->priv->destroy_user_data);
}
- g_chunk_free(node, node_chunk);
+ g_slice_free (ETreeMemoryPath, node);
}
/**
--- evolution-2.7.92/widgets/table/e-tree-sorted.c.deprecated-glib
2005-06-17 11:20:34.000000000 -0400
+++ evolution-2.7.92/widgets/table/e-tree-sorted.c 2006-08-23
10:41:16.000000000 -0400
@@ -47,12 +47,9 @@
/* maximum insertions between an idle event that we will do without scheduling
an idle sort */
#define ETS_INSERT_MAX (4)
-#define TREEPATH_CHUNK_AREA_SIZE (30 * sizeof (ETreeSortedPath))
-
#define d(x)
static ETreeModel *parent_class;
-static GMemChunk *node_chunk;
enum {
NODE_RESORTED,
@@ -365,7 +362,7 @@
free_path (ETreeSortedPath *path)
{
free_children(path);
- g_chunk_free(path, node_chunk);
+ g_slice_free(ETreeSortedPath, path);
}
static ETreeSortedPath *
@@ -373,7 +370,7 @@
{
ETreeSortedPath *path;
- path = g_chunk_new0 (ETreeSortedPath, node_chunk);
+ path = g_slice_new0 (ETreeSortedPath);
path->corresponding = corresponding;
path->parent = parent;
@@ -1157,8 +1154,6 @@
parent_class = g_type_class_peek_parent (klass);
- node_chunk = g_mem_chunk_create (ETreeSortedPath,
TREEPATH_CHUNK_AREA_SIZE, G_ALLOC_AND_FREE);
-
klass->node_resorted = NULL;
object_class->dispose = ets_dispose;
--- evolution-2.7.92/calendar/gui/e-meeting-list-view.c.deprecated-glib
2006-04-22 00:39:20.000000000 -0400
+++ evolution-2.7.92/calendar/gui/e-meeting-list-view.c 2006-08-23
10:41:16.000000000 -0400
@@ -786,7 +786,7 @@
g_slist_free (*la);
*la = NULL;
} else
- *la = g_slist_remove_link (*la,
g_slist_find_custom (*la, attendee, (GCompareFunc)g_strcasecmp));
+ *la = g_slist_remove_link (*la,
g_slist_find_custom (*la, attendee, (GCompareFunc)g_ascii_strcasecmp));
}
}
Index: evolution.spec
===================================================================
RCS file: /cvs/dist/rpms/evolution/devel/evolution.spec,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -r1.184 -r1.185
--- evolution.spec 22 Aug 2006 20:11:25 -0000 1.184
+++ evolution.spec 23 Aug 2006 18:22:04 -0000 1.185
@@ -45,7 +45,7 @@
Name: evolution
Version: 2.7.92
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL
Group: Applications/Productivity
Summary: GNOME's next-generation groupware suite
@@ -128,6 +128,10 @@
# Gnome.org bug #352423
Patch34: evolution-2.7.92-uninitialized-gerror.patch
+# Gnome.org bug #352450 (2 patches)
+Patch35: evolution-2.7.92-deprecated-glib.patch
+Patch36: evolution-2.7.92-deprecated-gdk.patch
+
### Dependencies ###
Requires: ORBit2 >= %{orbit2_version}
@@ -264,6 +268,8 @@
%patch32 -p1 -b .mail-account-disable
%patch33 -p1 -b .provide-camel-exception
%patch34 -p1 -b .uninitialized-gerror
+%patch35 -p1 -b .deprecated-glib
+%patch36 -p1 -b .deprecated-gdk
mkdir -p krb5-fakeprefix/include
mkdir -p krb5-fakeprefix/lib
@@ -654,6 +660,9 @@
%{_libdir}/evolution/%{evo_major}/libmenus.so
%changelog
+* Wed Aug 23 2006 Matthew Barnes <mbarnes@xxxxxxxxxx> - 2.7.92-4.fc6
+- Add patches for Gnome.org bug #352450.
+
* Tue Aug 22 2006 Matthew Barnes <mbarnes@xxxxxxxxxx> - 2.7.92-3.fc6
- Replace my patch for RH bug #202383 with a better one from upstream.
- Add patch for Gnome.org bug #352423.
--
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits
|
|