Mercurial > hg > xemacs-beta
comparison src/device-x.c @ 2552:166ed8151e62
[xemacs-hg @ 2005-02-03 16:30:33 by james]
Don't define this to c_this, and rename variables currently named this.
See xemacs-patches message with ID <psbrb1ehjl.fsf@diannao.ittc.ku.edu>.
author | james |
---|---|
date | Thu, 03 Feb 2005 16:30:38 +0000 |
parents | 3d8143fc88e1 |
children | f15523a6da7a |
comparison
equal
deleted
inserted
replaced
2551:9f70af3ac939 | 2552:166ed8151e62 |
---|---|
1236 static void | 1236 static void |
1237 construct_name_list (Display *display, Widget widget, char *fake_name, | 1237 construct_name_list (Display *display, Widget widget, char *fake_name, |
1238 char *fake_class, char *name, char *class_) | 1238 char *fake_class, char *name, char *class_) |
1239 { | 1239 { |
1240 char *stack [100][2]; | 1240 char *stack [100][2]; |
1241 Widget this; | 1241 Widget this_widget; |
1242 int count = 0; | 1242 int count = 0; |
1243 char *name_tail, *class_tail; | 1243 char *name_tail, *class_tail; |
1244 | 1244 |
1245 if (widget) | 1245 if (widget) |
1246 { | 1246 { |
1247 for (this = widget; this; this = XtParent (this)) | 1247 for (this_widget = widget; this_widget; |
1248 this_widget = XtParent (this_widget)) | |
1248 { | 1249 { |
1249 stack [count][0] = this->core.name; | 1250 stack [count][0] = this_widget->core.name; |
1250 stack [count][1] = XtClass (this)->core_class.class_name; | 1251 stack [count][1] = XtClass (this_widget)->core_class.class_name; |
1251 count++; | 1252 count++; |
1252 } | 1253 } |
1253 count--; | 1254 count--; |
1254 } | 1255 } |
1255 else if (fake_name && fake_class) | 1256 else if (fake_name && fake_class) |