From ffe9184fd0b919bdc7f3b946c373048fb3595eeb Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Wed, 5 Nov 2008 18:01:26 +0000 Subject: [PATCH] Use GeanyProject typedef instead of struct. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3179 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ src/build.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3cb2c541..4f26be59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ Capitalize 'project build menu commands' string, make fully translatable. Add column spacing of 6 for project commands table (Gnome HIG). + * src/build.c: + Use GeanyProject typedef instead of struct. 2008-111-01 Lex Trotman diff --git a/src/build.c b/src/build.c index 03a58fe6..61937581 100644 --- a/src/build.c +++ b/src/build.c @@ -1040,7 +1040,7 @@ static void add_menu_accel(GeanyKeyGroup *group, guint kb_id, static void create_build_menu_gen(BuildMenuItems *menu_items) { GtkWidget *menu, *item = NULL, *image, *separator; - struct GeanyProject *proj; + GeanyProject *proj; gchar *tiptext; GtkAccelGroup *accel_group = gtk_accel_group_new(); GtkTooltips *tooltips = GTK_TOOLTIPS(lookup_widget(main_widgets.window, "tooltips")); @@ -1548,7 +1548,7 @@ on_includes_arguments_dialog_response (GtkDialog *dialog, } if( app->project!=NULL ) { - struct GeanyProject *proj = app->project; + GeanyProject *proj = app->project; newstr = gtk_entry_get_text( GTK_ENTRY( lookup_widget( GTK_WIDGET(dialog), "build_1_label" ) ) ); if( !utils_str_equal( newstr, proj->build_1_label ) ) @@ -1687,7 +1687,7 @@ static void add_build_command_widgets(GtkWidget *dialog, GtkWidget *vbox, GeanyF { GtkWidget *align, *frame; /* in-dialog heading for the project part of the build commands dialog */ - struct GeanyProject *proj = app->project; + GeanyProject *proj = app->project; frame = ui_frame_new_with_alignment(_("Project build menu commands"), &align); gtk_container_add(GTK_CONTAINER(vbox), frame);