summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-03-25 21:08:42 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-03-25 21:08:42 +0000
commit6c796f88c7459fa4262f936dc9c7c02fa01e95e7 (patch)
tree9f1d5d4e8e4f4f709f11f3c95701c14e41a3483c /src/Fl_x.cxx
parentd7f353ddd120228a1a4444ff0dec2146de7cd980 (diff)
Rename all remaining functions that don't start with fl_ to
fl_foo. (filename_xyz becomes fl_filename_xyz, down becomes fl_down, define_FL_PLASTIC_BOX becomes fl_define_FL_PLASTIC_BOX, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 593e5156f..c246f9ac5 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_x.cxx,v 1.24.2.24.2.14 2002/03/25 02:36:59 easysw Exp $"
+// "$Id: Fl_x.cxx,v 1.24.2.24.2.15 2002/03/25 21:08:42 easysw Exp $"
//
// X specific code for the Fast Light Tool Kit (FLTK).
//
@@ -1147,7 +1147,7 @@ void Fl_Window::size_range_() {
////////////////////////////////////////////////////////////////
// returns pointer to the filename, or null if name ends with '/'
-const char *filename_name(const char *name) {
+const char *fl_filename_name(const char *name) {
const char *p,*q;
for (p=q=name; *p;) if (*p++ == '/') q = p;
return q;
@@ -1160,7 +1160,7 @@ void Fl_Window::label(const char *name,const char *iname) {
if (!name) name = "";
XChangeProperty(fl_display, i->xid, XA_WM_NAME,
XA_STRING, 8, 0, (uchar*)name, strlen(name));
- if (!iname) iname = filename_name(name);
+ if (!iname) iname = fl_filename_name(name);
XChangeProperty(fl_display, i->xid, XA_WM_ICON_NAME,
XA_STRING, 8, 0, (uchar*)iname, strlen(iname));
}
@@ -1215,5 +1215,5 @@ void Fl_Window::make_current() {
#endif
//
-// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.14 2002/03/25 02:36:59 easysw Exp $".
+// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.15 2002/03/25 21:08:42 easysw Exp $".
//