summaryrefslogtreecommitdiff
path: root/eel/eel-canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'eel/eel-canvas.c')
-rw-r--r--eel/eel-canvas.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index ee70a047..faf1ab69 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -112,7 +112,6 @@ static GObjectClass *item_parent_class;
static gpointer accessible_item_parent_class;
static gpointer accessible_parent_class;
-
/**
* eel_canvas_item_get_type:
*
@@ -192,7 +191,6 @@ eel_canvas_item_new (EelCanvasGroup *parent, GType type, const gchar *first_arg_
return item;
}
-
/* Performs post-creation operations on a canvas item (adding it to its parent
* group, etc.)
*/
@@ -292,7 +290,6 @@ eel_canvas_item_construct (EelCanvasItem *item, EelCanvasGroup *parent,
item_post_create_setup (item);
}
-
static void
redraw_and_repick_if_mapped (EelCanvasItem *item)
{
@@ -491,7 +488,6 @@ eel_canvas_item_set (EelCanvasItem *item, const gchar *first_arg_name, ...)
va_end (args);
}
-
/**
* eel_canvas_item_set_valist:
* @item: A canvas item.
@@ -511,7 +507,6 @@ eel_canvas_item_set_valist (EelCanvasItem *item, const gchar *first_arg_name, va
item->canvas->need_repick = TRUE;
}
-
/**
* eel_canvas_item_move:
* @item: A canvas item.
@@ -618,7 +613,6 @@ put_item_after (GList *link, GList *before)
return TRUE;
}
-
/**
* eel_canvas_item_raise:
* @item: A canvas item.
@@ -656,7 +650,6 @@ eel_canvas_item_raise (EelCanvasItem *item, int positions)
}
}
-
/**
* eel_canvas_item_lower:
* @item: A canvas item.
@@ -694,7 +687,6 @@ eel_canvas_item_lower (EelCanvasItem *item, int positions)
}
}
-
/**
* eel_canvas_item_raise_to_top:
* @item: A canvas item.
@@ -722,7 +714,6 @@ eel_canvas_item_raise_to_top (EelCanvasItem *item)
}
}
-
/**
* eel_canvas_item_lower_to_bottom:
* @item: A canvas item.
@@ -836,7 +827,6 @@ eel_canvas_item_show (EelCanvasItem *item)
}
}
-
/**
* eel_canvas_item_hide:
* @item: A canvas item.
@@ -987,7 +977,6 @@ eel_canvas_item_w2i (EelCanvasItem *item, double *x, double *y)
}
}
-
/**
* eel_canvas_item_i2w:
* @item: A canvas item.
@@ -1112,7 +1101,6 @@ eel_canvas_item_grab_focus (EelCanvasItem *item)
}
}
-
/**
* eel_canvas_item_get_bounds:
* @item: A canvas item.
@@ -1153,7 +1141,6 @@ eel_canvas_item_get_bounds (EelCanvasItem *item, double *x1, double *y1, double
*y2 = ty2;
}
-
/**
* eel_canvas_item_request_update
* @item: A canvas item.
@@ -1202,11 +1189,8 @@ eel_canvas_item_request_redraw (EelCanvasItem *item)
item->x2 + 1, item->y2 + 1);
}
-
-
/*** EelCanvasGroup ***/
-
enum
{
GROUP_PROP_0,
@@ -1214,7 +1198,6 @@ enum
GROUP_PROP_Y
};
-
static void eel_canvas_group_class_init (EelCanvasGroupClass *klass);
static void eel_canvas_group_init (EelCanvasGroup *group);
static void eel_canvas_group_set_property(GObject *object,
@@ -1245,10 +1228,8 @@ static void eel_canvas_group_translate (EelCanvasItem *item, double dx, doub
static void eel_canvas_group_bounds (EelCanvasItem *item, double *x1, double *y1,
double *x2, double *y2);
-
static EelCanvasItemClass *group_parent_class;
-
/**
* eel_canvas_group_get_type:
*
@@ -1276,7 +1257,6 @@ eel_canvas_group_get_type (void)
0, /* n_preallocs */
(GInstanceInitFunc) eel_canvas_group_init
-
};
group_type = g_type_register_static (eel_canvas_item_get_type (),
@@ -1807,10 +1787,8 @@ group_remove (EelCanvasGroup *group, EelCanvasItem *item)
}
}
-
/*** EelCanvas ***/
-
enum
{
DRAW_BACKGROUND,
@@ -2860,7 +2838,6 @@ eel_canvas_key (GtkWidget *widget, GdkEventKey *event)
return GTK_WIDGET_CLASS (canvas_parent_class)->key_press_event (widget, event);
}
-
/* Crossing event handler for the canvas */
static gint
eel_canvas_crossing (GtkWidget *widget, GdkEventCrossing *event)
@@ -2925,7 +2902,6 @@ eel_cairo_get_clip_region (cairo_t *cr)
return cairo_region_create_rectangle (&clip_rect);
}
-
region = cairo_region_create ();
for (i = list->num_rectangles - 1; i >= 0; --i) {
cairo_rectangle_t *rect = &list->rectangles[i];
@@ -3131,7 +3107,6 @@ eel_canvas_root (EelCanvas *canvas)
return EEL_CANVAS_GROUP (canvas->root);
}
-
/**
* eel_canvas_set_scroll_region:
* @canvas: A canvas.
@@ -3191,7 +3166,6 @@ eel_canvas_set_scroll_region (EelCanvas *canvas, double x1, double y1, double x2
}
}
-
/**
* eel_canvas_get_scroll_region:
* @canvas: A canvas.
@@ -3238,7 +3212,6 @@ eel_canvas_set_center_scroll_region (EelCanvas *canvas,
gtk_adjustment_get_value (vadjustment));
}
-
/**
* eel_canvas_set_pixels_per_unit:
* @canvas: A canvas.
@@ -3518,8 +3491,6 @@ eel_canvas_w2c_rect_d (EelCanvas *canvas,
x2, y2);
}
-
-
/**
* eel_canvas_w2c_d:
* @canvas: A canvas.
@@ -3546,7 +3517,6 @@ eel_canvas_w2c_d (EelCanvas *canvas, double wx, double wy, double *cx, double *c
*cy = (wy - canvas->scroll_y1)*zoom + canvas->zoom_yofs;
}
-
/**
* eel_canvas_c2w:
* @canvas: A canvas.
@@ -3572,7 +3542,6 @@ eel_canvas_c2w (EelCanvas *canvas, int cx, int cy, double *wx, double *wy)
*wy = (cy - canvas->zoom_yofs)/zoom + canvas->scroll_y1;
}
-
/**
* eel_canvas_window_to_world:
* @canvas: A canvas.
@@ -3602,7 +3571,6 @@ eel_canvas_window_to_world (EelCanvas *canvas, double winx, double winy,
/ canvas->pixels_per_unit);
}
-
/**
* eel_canvas_world_to_window:
* @canvas: A canvas.
@@ -3724,7 +3692,6 @@ eel_canvas_item_accessible_is_item_in_window (EelCanvasItem *item,
return retval;
}
-
static void
eel_canvas_item_accessible_get_extents (AtkComponent *component,
gint *x,