diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/analysis/project.c | 4 | ||||
-rw-r--r-- | src/analysis/project.h | 2 | ||||
-rw-r--r-- | src/gui/menus/file.c | 2 | ||||
-rw-r--r-- | src/gui/panels/welcome.c | 2 |
5 files changed, 13 insertions, 5 deletions
@@ -1,3 +1,11 @@ +17-11-20 Cyrille Bagard <nocbos@gmail.com> + + * src/analysis/project.c: + * src/analysis/project.h: + * src/gui/menus/file.c: + * src/gui/panels/welcome.c: + Typo. + 17-11-12 Cyrille Bagard <nocbos@gmail.com> * plugins/elf/elf_def.h: diff --git a/src/analysis/project.c b/src/analysis/project.c index 9a10985..5fe7ab3 100644 --- a/src/analysis/project.c +++ b/src/analysis/project.c @@ -1082,7 +1082,7 @@ GStudyProject *_get_current_study_project(GStudyProject *project) * * ******************************************************************************/ -GtkRecentManager *get_projects_manager(void) +GtkRecentManager *get_project_manager(void) { static GtkRecentManager *result = NULL; /* Singleton à retourner */ @@ -1120,7 +1120,7 @@ void push_project_into_recent_list(const GStudyProject *project) /* Constitution de la liste des projets récents */ - manager = get_projects_manager(); + manager = get_project_manager(); qualified = (char *)calloc(strlen("file://") + strlen(project->filename) + 1, sizeof(char)); diff --git a/src/analysis/project.h b/src/analysis/project.h index 7ae3c03..34dd976 100644 --- a/src/analysis/project.h +++ b/src/analysis/project.h @@ -143,7 +143,7 @@ GStudyProject *_get_current_study_project(GStudyProject *); #define get_current_project() _get_current_study_project(NULL) /* Fournit le gestionnaire des projets connus. */ -GtkRecentManager *get_projects_manager(void); +GtkRecentManager *get_project_manager(void); /* Place un projet au sommet de la pile des projets récents. */ void push_project_into_recent_list(const GStudyProject *); diff --git a/src/gui/menus/file.c b/src/gui/menus/file.c index d83f05b..6e64357 100644 --- a/src/gui/menus/file.c +++ b/src/gui/menus/file.c @@ -93,7 +93,7 @@ GtkWidget *build_menu_file(GObject *ref, GtkAccelGroup *accgroup) submenuitem = qck_create_menu_item(NULL, NULL, _("Recent projects..."), NULL, NULL); gtk_container_add(GTK_CONTAINER(menubar), submenuitem); - deepmenuitem = gtk_recent_chooser_menu_new_for_manager(get_projects_manager()); + deepmenuitem = gtk_recent_chooser_menu_new_for_manager(get_project_manager()); gtk_recent_chooser_set_sort_type(GTK_RECENT_CHOOSER(deepmenuitem), GTK_RECENT_SORT_MRU); gtk_recent_chooser_set_show_tips(GTK_RECENT_CHOOSER(deepmenuitem), TRUE); gtk_recent_chooser_set_show_icons(GTK_RECENT_CHOOSER(deepmenuitem), FALSE); diff --git a/src/gui/panels/welcome.c b/src/gui/panels/welcome.c index 8ae1667..f69b81d 100644 --- a/src/gui/panels/welcome.c +++ b/src/gui/panels/welcome.c @@ -318,7 +318,7 @@ GPanelItem *g_welcome_panel_new(void) result = g_object_new(G_TYPE_WELCOME_PANEL, NULL); - manager = get_projects_manager(); + manager = get_project_manager(); g_signal_connect(manager, "changed", G_CALLBACK(on_recent_list_changed), result); |