[gnome-latex] LaTeX commands: rename a function
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-latex] LaTeX commands: rename a function
- Date: Tue, 28 Apr 2020 01:36:28 +0000 (UTC)
commit 31dd1ca0ed0b801d78c868ef9eeb35ce1f08a28d
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Apr 28 03:34:25 2020 +0200
LaTeX commands: rename a function
docs/reference/gnome-latex-sections.txt | 2 +-
src/liblatexila/latexila-latex-commands.c | 4 ++--
src/liblatexila/latexila-latex-commands.h | 2 +-
src/main_window.vala | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/gnome-latex-sections.txt b/docs/reference/gnome-latex-sections.txt
index 5ffa7c5..c61558f 100644
--- a/docs/reference/gnome-latex-sections.txt
+++ b/docs/reference/gnome-latex-sections.txt
@@ -149,7 +149,7 @@ latexila_factory_get_type
<FILE>latex-commands</FILE>
latexila_latex_commands_add_action_infos
latexila_latex_commands_add_actions
-latexila_latex_commands_get_edit_toolbar
+latexila_latex_commands_create_edit_toolbar
latexila_latex_commands_create_latex_menu
</SECTION>
diff --git a/src/liblatexila/latexila-latex-commands.c b/src/liblatexila/latexila-latex-commands.c
index 7e34e3e..2142500 100644
--- a/src/liblatexila/latexila-latex-commands.c
+++ b/src/liblatexila/latexila-latex-commands.c
@@ -1489,14 +1489,14 @@ create_submenu_latex_sectioning (void)
}
/**
- * latexila_latex_commands_get_edit_toolbar:
+ * latexila_latex_commands_create_edit_toolbar:
* @gtk_window: a #GtkApplicationWindow.
*
* Returns: (transfer floating): a new #GtkToolbar with the most common LaTeX
* actions.
*/
GtkToolbar *
-latexila_latex_commands_get_edit_toolbar (GtkApplicationWindow *gtk_window)
+latexila_latex_commands_create_edit_toolbar (GtkApplicationWindow *gtk_window)
{
GtkToolbar *toolbar;
GtkStyleContext *style_context;
diff --git a/src/liblatexila/latexila-latex-commands.h b/src/liblatexila/latexila-latex-commands.h
index 929d6e6..4493375 100644
--- a/src/liblatexila/latexila-latex-commands.h
+++ b/src/liblatexila/latexila-latex-commands.h
@@ -28,7 +28,7 @@ void latexila_latex_commands_add_action_infos (GtkApplication *gtk_app);
void latexila_latex_commands_add_actions (GtkApplicationWindow *gtk_window);
-GtkToolbar * latexila_latex_commands_get_edit_toolbar (GtkApplicationWindow *gtk_window);
+GtkToolbar * latexila_latex_commands_create_edit_toolbar (GtkApplicationWindow *gtk_window);
GtkMenu * latexila_latex_commands_create_latex_menu (GtkApplicationWindow *gtk_window);
diff --git a/src/main_window.vala b/src/main_window.vala
index ab99530..8faa33e 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -414,7 +414,7 @@ public class MainWindow : ApplicationWindow
private Toolbar get_edit_toolbar ()
{
- Toolbar edit_toolbar = Latexila.latex_commands_get_edit_toolbar (this);
+ Toolbar edit_toolbar = Latexila.latex_commands_create_edit_toolbar (this);
ToggleAction action =
_action_group.get_action ("ViewEditToolbar") as ToggleAction;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]