~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/FetchName.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    unsigned long nitems;
45
45
    unsigned long leftover;
46
46
    unsigned char *data = NULL;
47
 
    if (XGetWindowProperty(dpy, w, XA_WM_NAME, 0L, (long)BUFSIZ, False, XA_STRING, 
 
47
    if (XGetWindowProperty(dpy, w, XA_WM_NAME, 0L, (long)BUFSIZ, False, XA_STRING,
48
48
        &actual_type,
49
49
        &actual_format, &nitems, &leftover, &data) != Success) {
50
50
        *name = NULL;
75
75
    unsigned long leftover;
76
76
    unsigned char *data = NULL;
77
77
    if (XGetWindowProperty(dpy, w, XA_WM_ICON_NAME, 0L, (long)BUFSIZ, False,
78
 
        XA_STRING, 
 
78
        XA_STRING,
79
79
        &actual_type,
80
80
        &actual_format, &nitems, &leftover, &data) != Success) {
81
81
        *icon_name = NULL;