Ignore:
Timestamp:
Nov 25, 2007, 6:13:10 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Switch to caca_create_display(NULL) in a few places to document the behaviour.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/doc/migrating.dox

    r1879 r2062  
    4949    cucul_canvas_t *cv;
    5050    caca_display_t *dp;
    51     cv = cucul_create_canvas(0, 0);
    5251    dp = caca_create_display(cv);
     52    cv = caca_get_canvas(dp);
    5353    /* Set window title */
    5454    caca_set_display_title(dp, "Window");
     
    6565    /* Clean up library */
    6666    caca_free_display(dp);
    67     cucul_free_canvas(cv);
    6867
    6968    return 0;
Note: See TracChangeset for help on using the changeset viewer.