Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
f9af9719
Commit
f9af9719
authored
Sep 16, 2009
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x_get_resource_string): Remove unused.
parent
d2fd733e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
25 deletions
+4
-25
src/ChangeLog
src/ChangeLog
+4
-0
src/frame.c
src/frame.c
+0
-25
No files found.
src/ChangeLog
View file @
f9af9719
2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
* frame.c (x_get_resource_string): Remove unused.
2009-09-15 Jan Djärv <jan.h.d@swipnet.se>
* xterm.c (x_new_font): Call change_frame_size before calling
...
...
src/frame.c
View file @
f9af9719
...
...
@@ -3893,31 +3893,6 @@ display_x_get_resource (dpyinfo, attribute, class, component, subclass)
attribute
,
class
,
component
,
subclass
);
}
/* Used when C code wants a resource value. */
char
*
x_get_resource_string
(
attribute
,
class
)
char
*
attribute
,
*
class
;
{
char
*
name_key
;
char
*
class_key
;
struct
frame
*
sf
=
SELECTED_FRAME
();
/* Allocate space for the components, the dots which separate them,
and the final '\0'. */
name_key
=
(
char
*
)
alloca
(
SBYTES
(
Vinvocation_name
)
+
strlen
(
attribute
)
+
2
);
class_key
=
(
char
*
)
alloca
((
sizeof
(
EMACS_CLASS
)
-
1
)
+
strlen
(
class
)
+
2
);
sprintf
(
name_key
,
"%s.%s"
,
SDATA
(
Vinvocation_name
),
attribute
);
sprintf
(
class_key
,
"%s.%s"
,
EMACS_CLASS
,
class
);
return
x_get_string_resource
(
FRAME_X_DISPLAY_INFO
(
sf
)
->
xrdb
,
name_key
,
class_key
);
}
/* Return the value of parameter PARAM.
First search ALIST, then Vdefault_frame_alist, then the X defaults
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment