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
This commit is contained in:
Nick Treleaven 2008-11-05 18:01:26 +00:00
parent 4b667693e3
commit ffe9184fd0
2 changed files with 5 additions and 3 deletions

View File

@ -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 <elextr(at)gmail(dot)com>

View File

@ -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);