diff options
author | rbuj <[email protected]> | 2021-10-27 17:34:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-11-20 16:50:14 +0100 |
commit | 0a4384ca8c93b62bdf393cd1f3698bab1999fc6f (patch) | |
tree | 9c68212e8ba254df3dc80cd091b8fd3198a9b643 /libcaja-private/caja-icon-canvas-item.c | |
parent | bdc5cf66eff8c52cf422cf7b0143ff3489bbb7b0 (diff) | |
download | caja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.bz2 caja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.xz |
Use a blank line at most
Diffstat (limited to 'libcaja-private/caja-icon-canvas-item.c')
-rw-r--r-- | libcaja-private/caja-icon-canvas-item.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c index 7ab2f705..8a11b154 100644 --- a/libcaja-private/caja-icon-canvas-item.c +++ b/libcaja-private/caja-icon-canvas-item.c @@ -237,7 +237,6 @@ static void draw_embedded_text (CajaIconCanvasItem static void caja_icon_canvas_item_ensure_bounds_up_to_date (CajaIconCanvasItem *icon_item); - /* Object initialization function for the icon item. */ static void caja_icon_canvas_item_init (CajaIconCanvasItem *icon_item) @@ -732,7 +731,6 @@ caja_icon_canvas_item_set_embedded_text (CajaIconCanvasItem *item, eel_canvas_item_request_update (EEL_CANVAS_ITEM (item)); } - /* Recomputes the bounding box of a icon canvas item. * This is a generic implementation that could be used for any canvas item * class, it has no assumptions about how the item is used. @@ -943,7 +941,6 @@ in_single_click_mode (void) return click_policy_auto_value == CAJA_CLICK_POLICY_SINGLE; } - /* Keep these for a bit while we work on performance of draw_or_measure_label_text. */ /* #define PERFORMANCE_TEST_DRAW_DISABLE @@ -1466,7 +1463,6 @@ caja_icon_canvas_item_invalidate_label (CajaIconCanvasItem *item) } } - static GdkPixbuf * get_knob_pixbuf (void) { @@ -1569,7 +1565,6 @@ emblem_layout_next (EmblemLayout *layout, width = gdk_pixbuf_get_width (pixbuf); height = gdk_pixbuf_get_height (pixbuf); - /* Advance to the next emblem. */ layout->emblem = layout->emblem->next; @@ -1970,7 +1965,6 @@ caja_icon_canvas_item_draw (EelCanvasItem *item, (g_ascii_isdigit (*(p+1)) && \ g_ascii_isdigit (*(p+2)))) - static PangoLayout * create_label_layout (CajaIconCanvasItem *item, const char *text) @@ -2091,7 +2085,6 @@ get_label_layout (PangoLayout **layout_cache, return layout; } - /* handle events */ static int caja_icon_canvas_item_event (EelCanvasItem *item, GdkEvent *event) @@ -2566,7 +2559,6 @@ get_icon_canvas_rectangle (CajaIconCanvasItem *item, g_assert (CAJA_IS_ICON_CANVAS_ITEM (item)); g_assert (rect != NULL); - eel_canvas_w2c (EEL_CANVAS_ITEM (item)->canvas, item->details->x, item->details->y, @@ -2743,7 +2735,6 @@ caja_icon_canvas_item_get_max_text_width (CajaIconCanvasItem *item) return MAX_TEXT_WIDTH_STANDARD * canvas_item->canvas->pixels_per_unit; } - } } @@ -2806,7 +2797,6 @@ caja_icon_canvas_item_class_init (CajaIconCanvasItemClass *class) "whether we are highlighted to render keyboard focus", FALSE, G_PARAM_READWRITE)); - g_object_class_install_property ( object_class, PROP_HIGHLIGHTED_FOR_DROP, @@ -3129,7 +3119,6 @@ caja_icon_canvas_item_accessible_get_index_in_parent (AtkObject *accessible) return -1; } - static const gchar* caja_icon_canvas_item_accessible_get_image_description(AtkImage* image) { CajaIconCanvasItemAccessiblePrivate* priv; @@ -3614,7 +3603,6 @@ typedef AtkObjectFactoryClass CajaIconCanvasItemAccessibleFactoryClass; G_DEFINE_TYPE (CajaIconCanvasItemAccessibleFactory, caja_icon_canvas_item_accessible_factory, ATK_TYPE_OBJECT_FACTORY); - static AtkObject * caja_icon_canvas_item_accessible_factory_create_accessible (GObject *for_object) { |