Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gnumeric
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
369
Issues
369
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
066d9913
Commit
066d9913
authored
Dec 21, 1999
by
Michael Meeks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs to explain why setting elements on mstyle_new_default is a
terrible idea.
parent
d4430e2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
doc/Styles.txt
doc/Styles.txt
+2
-1
doc/developer/Styles.txt
doc/developer/Styles.txt
+2
-1
src/mstyle.c
src/mstyle.c
+9
-0
No files found.
doc/Styles.txt
View file @
066d9913
...
...
@@ -21,7 +21,8 @@ adopted. This document breaks roughly into two parts. First the 'user'
In future named styles will be possible, also to get the default style
use mstyle_new_default (). NB. the name 'mstyle' is standard for this
structure's instances.
structure's instances. NB. do _not_ set any of the fields on the default
style.
b) Set elements:
...
...
doc/developer/Styles.txt
View file @
066d9913
...
...
@@ -21,7 +21,8 @@ adopted. This document breaks roughly into two parts. First the 'user'
In future named styles will be possible, also to get the default style
use mstyle_new_default (). NB. the name 'mstyle' is standard for this
structure's instances.
structure's instances. NB. do _not_ set any of the fields on the default
style.
b) Set elements:
...
...
src/mstyle.c
View file @
066d9913
...
...
@@ -486,6 +486,15 @@ mstyle_new_name (const gchar *name)
static
MStyle
*
default_mstyle
=
NULL
;
/**
* mstyle_new_default:
*
* Return the default style,
* this should _never_ _ever_ have any of its elements
* set.
*
* Return value: the default style.
**/
MStyle
*
mstyle_new_default
(
void
)
{
...
...
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