/[cabestan]/widgets.c
ViewVC logotype

Diff of /widgets.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by ben, Mon Oct 5 01:58:05 2009 UTC revision 6 by ben, Mon Oct 5 11:41:40 2009 UTC
# Line 9  Line 9 
9   */   */
10  #include <gtk/gtk.h>  #include <gtk/gtk.h>
11  #include <glib.h>  #include <glib.h>
12    #include "cabestan.h"
13    
14  GtkWidget* window_create(const gchar* title) {  GtkWidget* window_create(const gchar* title) {
15          GtkWidget* window;          GtkWidget* window;
# Line 36  GtkWidget* timeline_create(void) { Line 37  GtkWidget* timeline_create(void) {
37    
38          timeline = gtk_label_new("");          timeline = gtk_label_new("");
39          gtk_label_set_justify(GTK_LABEL(timeline), GTK_JUSTIFY_CENTER);          gtk_label_set_justify(GTK_LABEL(timeline), GTK_JUSTIFY_CENTER);
40          markup = g_markup_printf_escaped ("<span weight=\"bold\">%02d:%02d:%02d.%06d</span>", 0, 0, 0, 0);          markup = format_time (0.0);
41          gtk_label_set_markup(GTK_LABEL (timeline), markup);          gtk_label_set_markup(GTK_LABEL (timeline), markup);
42          g_free(markup);          g_free(markup);
43          return timeline;          return timeline;

Legend:
Removed from v.3  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.26