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
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,125
Issues
1,125
List
Boards
Labels
Service Desk
Milestones
Merge Requests
152
Merge Requests
152
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gtk
Commits
4e61a852
Commit
4e61a852
authored
Jun 11, 2006
by
Matthias Clasen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Register GtkPrintCapabilities
parent
b11d57cc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
4 deletions
+41
-4
ChangeLog
ChangeLog
+6
-0
ChangeLog.pre-2-10
ChangeLog.pre-2-10
+6
-0
gtk/gtk.symbols
gtk/gtk.symbols
+1
-0
gtk/gtkprintjob.c
gtk/gtkprintjob.c
+23
-0
gtk/gtkprintjob.h
gtk/gtkprintjob.h
+5
-4
No files found.
ChangeLog
View file @
4e61a852
2006-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
flags type. (#344504, Marko Anastasov)
2006-06-09 Benjamin Berg <benjamin@sipsolutions.net>
* gtk/gtkmenuitem.c: (get_offsets): Take GtkMenu::horizontal-padding
...
...
ChangeLog.pre-2-10
View file @
4e61a852
2006-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
flags type. (#344504, Marko Anastasov)
2006-06-09 Benjamin Berg <benjamin@sipsolutions.net>
* gtk/gtkmenuitem.c: (get_offsets): Take GtkMenu::horizontal-padding
...
...
gtk/gtk.symbols
View file @
4e61a852
...
...
@@ -2679,6 +2679,7 @@ gtk_print_job_get_surface
gtk_print_job_send
gtk_print_job_set_track_print_status
gtk_print_job_get_track_print_status
gtk_print_capabilities_get_type G_GNUC_CONST
#endif
#endif
#endif
...
...
gtk/gtkprintjob.c
View file @
4e61a852
...
...
@@ -638,5 +638,28 @@ gtk_print_job_send (GtkPrintJob *job,
return
TRUE
;
}
GType
gtk_print_capabilities_get_type
(
void
)
{
static
GType
etype
=
0
;
if
(
etype
==
0
)
{
static
const
GFlagsValue
values
[]
=
{
{
GTK_PRINT_CAPABILITY_PAGE_SET
,
"GTK_PRINT_CAPABILITY_PAGE_SET"
,
"page-set"
},
{
GTK_PRINT_CAPABILITY_COPIES
,
"GTK_PRINT_CAPABILITY_COPIES"
,
"copies"
},
{
GTK_PRINT_CAPABILITY_COLLATE
,
"GTK_PRINT_CAPABILITY_COLLATE"
,
"collate"
},
{
GTK_PRINT_CAPABILITY_REVERSE
,
"GTK_PRINT_CAPABILITY_REVERSE"
,
"reverse"
},
{
GTK_PRINT_CAPABILITY_SCALE
,
"GTK_PRINT_CAPABILITY_SCALE"
,
"scale"
},
{
0
,
NULL
,
NULL
}
};
etype
=
g_flags_register_static
(
I_
(
"GtkPrintCapabilities"
),
values
);
}
return
etype
;
}
#define __GTK_PRINT_JOB_C__
#include "gtkaliasdef.c"
gtk/gtkprintjob.h
View file @
4e61a852
...
...
@@ -64,14 +64,14 @@ struct _GtkPrintJob
*/
GtkPrintPages
print_pages
;
GtkPageRange
*
page_ranges
;
int
num_page_ranges
;
g
int
num_page_ranges
;
gboolean
rotate_to_orientation
;
GtkPageSet
page_set
;
int
num_copies
;
g
int
num_copies
;
gboolean
collate
;
gboolean
reverse
;
double
scale
;
g
double
scale
;
};
struct
_GtkPrintJobClass
...
...
@@ -90,7 +90,7 @@ struct _GtkPrintJobClass
void
(
*
_gtk_reserved7
)
(
void
);
};
GType
gtk_print_job_get_type
(
void
)
G_GNUC_CONST
;
GType
gtk_print_job_get_type
(
void
)
G_GNUC_CONST
;
GtkPrintJob
*
gtk_print_job_new
(
const
gchar
*
title
,
GtkPrinter
*
printer
,
GtkPrintSettings
*
settings
,
...
...
@@ -113,6 +113,7 @@ gboolean gtk_print_job_send (GtkPrintJob
GDestroyNotify
dnotify
,
GError
**
error
);
GType
gtk_print_capabilities_get_type
(
void
)
G_GNUC_CONST
;
G_END_DECLS
...
...
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