~ubuntu-branches/ubuntu/edgy/tilp/edgy

« back to all changes in this revision

Viewing changes to src/splash.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2004-10-31 16:31:08 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20041031163108-ijcnonytcx6avaim
Tags: 6.76-1
* New upstream release.
  + Fixes crash on !i386 due to va_list misuse.
  + Doesn't show the action dbox if the list of identical variables is
    empty (closes: #276047).
* Bumped B-D on newest libti*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Hey EMACS -*- linux-c -*- */
2
 
/* $Id: splash.c 366 2004-03-22 18:04:07Z roms $ */
 
2
/* $Id: splash.c 712 2004-05-15 11:02:05Z roms $ */
3
3
 
4
4
/*  tilp - Ti Linking Program
5
5
 *  Copyright (C) 1999-2004  Romain Lievin
30
30
 
31
31
#include "support.h"
32
32
#include "tilp_version.h"
 
33
#include "tilp_core.h"
 
34
#include "gtk_refresh.h"
 
35
 
33
36
typedef struct {
34
37
        GtkWidget *window;
35
38
        GtkWidget *label;
67
70
        g_object_unref(pixbuf);
68
71
        gtk_widget_show(image);
69
72
        gtk_widget_show(splashscreen.window);
70
 
        while (gtk_events_pending()) {
71
 
                gtk_main_iteration();
72
 
        }
 
73
 
73
74
        return splashscreen.window;
74
75
}
75
76
void splash_screen_stop(void)
78
79
} void splash_screen_set_label(gchar * label)
79
80
{
80
81
        gtk_label_set_text(GTK_LABEL(splashscreen.label), label);
81
 
        while (gtk_events_pending()) {
82
 
                gtk_main_iteration();
83
 
        }
 
82
        GTK_REFRESH();
84
83
}