Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to initialize locale directory localedir #796

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libgphoto2/gphoto2-abilities-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ gp_message_codeset (const char *codeset)
* relevant gettext text domain(s).
*
* \param localedir Root directory of libgphoto2's localisation files.
* If NULL, the default localedir will be locked in.
ndim marked this conversation as resolved.
Show resolved Hide resolved
* \return gphoto2 error code.
*/
int
Expand Down
1 change: 1 addition & 0 deletions libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ struct _GPPortInfoList {
* relevant gettext text domain(s).
*
* \param localedir Root directory of libgphoto2's localisation files.
* If NULL, the default localedir will be locked in.
* \return gphoto2 error code.
*/
int
Expand Down
8 changes: 1 addition & 7 deletions libgphoto2_port/libgphoto2_port/libgphoto2_port.ver
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ LIBGPHOTO2_5_0 {
gp_port_info_list_lookup_name;
gp_port_info_list_lookup_path;
gp_port_info_list_new;
gp_port_init_localedir;
gp_port_library_version;
gp_port_message_codeset;
gp_port_new;
Expand Down Expand Up @@ -96,11 +97,4 @@ LIBGPHOTO2_INTERNAL {
# # Add new exported functions here too!
#}; # LIBGPHOTO2_6_0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are weird?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, but i see its all commented out.


LIBGPHOTO2_6_0 {
global:
gp_port_init_localedir;
local:
*;
}; # LIBGPHOTO2_6_0

# here comes the next version...