Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
1317675c
Commit
1317675c
authored
Apr 28, 2017
by
Sebastian Ramacher
Browse files
Mark _get_types as G_GNUC_CONST
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
4c692a0d
Changes
9
Hide whitespace changes
Inline
Side-by-side
zathura/database-plain.h
View file @
1317675c
...
...
@@ -31,7 +31,7 @@ struct _ZathuraPlainDatabaseClass
GObjectClass
parent_class
;
};
GType
zathura_plaindatabase_get_type
(
void
);
GType
zathura_plaindatabase_get_type
(
void
)
G_GNUC_CONST
;
/**
* Initialize database system.
*
...
...
zathura/database-sqlite.h
View file @
1317675c
...
...
@@ -31,7 +31,7 @@ struct _ZathuraSQLDatabaseClass
GObjectClass
parent_class
;
};
GType
zathura_sqldatabase_get_type
(
void
);
GType
zathura_sqldatabase_get_type
(
void
)
G_GNUC_CONST
;
/**
* Initialize database system.
...
...
zathura/database.h
View file @
1317675c
...
...
@@ -54,7 +54,7 @@ struct _ZathuraDatabaseInterface
girara_list_t
*
(
*
get_recent_files
)(
ZathuraDatabase
*
db
,
int
max
);
};
GType
zathura_database_get_type
(
void
);
GType
zathura_database_get_type
(
void
)
G_GNUC_CONST
;
/**
* Add or update bookmark in the database.
...
...
zathura/dbus-interface.h
View file @
1317675c
...
...
@@ -37,7 +37,7 @@ struct zathura_dbus_class_s
(G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_DBUS, \
ZathuraDbusClass))
GType
zathura_dbus_get_type
(
void
);
GType
zathura_dbus_get_type
(
void
)
G_GNUC_CONST
;
ZathuraDbus
*
zathura_dbus_new
(
zathura_t
*
zathura
);
...
...
zathura/file-monitor-glib.h
View file @
1317675c
...
...
@@ -28,6 +28,6 @@ struct zathura_glibfilemonitor_class_s
ZathuraFileMonitorClass
parent_class
;
};
GType
zathura_glibfilemonitor_get_type
(
void
);
GType
zathura_glibfilemonitor_get_type
(
void
)
G_GNUC_CONST
;
#endif
zathura/file-monitor-signal.h
View file @
1317675c
...
...
@@ -28,6 +28,6 @@ struct zathura_signalfilemonitor_class_s
ZathuraFileMonitorClass
parent_class
;
};
GType
zathura_signalfilemonitor_get_type
(
void
);
GType
zathura_signalfilemonitor_get_type
(
void
)
G_GNUC_CONST
;
#endif
zathura/file-monitor.h
View file @
1317675c
...
...
@@ -48,7 +48,7 @@ struct zathura_filemonitor_class_s
*
* @return the type
*/
GType
zathura_filemonitor_get_type
(
void
);
GType
zathura_filemonitor_get_type
(
void
)
G_GNUC_CONST
;
/**
* Type of file monitor.
...
...
zathura/page-widget.h
View file @
1317675c
...
...
@@ -41,7 +41,7 @@ struct zathura_page_widget_class_s
* Returns the type of the page view widget.
* @return the type
*/
GType
zathura_page_widget_get_type
(
void
);
GType
zathura_page_widget_get_type
(
void
)
G_GNUC_CONST
;
/**
* Create a page view widget.
* @param zathura the zathura instance
...
...
zathura/render.h
View file @
1317675c
...
...
@@ -39,7 +39,7 @@ struct zathura_renderer_class_s
* Returns the type of the renderer.
* @return the type
*/
GType
zathura_renderer_get_type
(
void
);
GType
zathura_renderer_get_type
(
void
)
G_GNUC_CONST
;
/**
* Create a renderer.
* @return a renderer object
...
...
@@ -172,7 +172,7 @@ struct zathura_render_request_class_s
* Returns the type of the render request.
* @return the type
*/
GType
zathura_page_render_info_get_type
(
void
);
GType
zathura_page_render_info_get_type
(
void
)
G_GNUC_CONST
;
/**
* Create a render request object
* @param renderer a renderer object
...
...
Write
Preview
Supports
Markdown
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