/gpump/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/gpump/trunk

« back to all changes in this revision

Viewing changes to src/GPumpApp.c

  • Committer: Gustav Hartvigsson
  • Date: 2014-02-09 12:09:52 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140209120952-djda4mbj8g8zv980
Nope... Did not fix it...

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
}
48
48
 
49
49
void gpump_app_init (GPumpApp * self) {
50
 
  self->priv = GPUMP_APP_GET_PRIVATE (self);
 
50
  g_print ("init\n");
 
51
  //self->priv = GPUMP_APP_GET_PRIVATE (self);
 
52
  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
 
53
                                            GPUMP_TYPE_APP,
 
54
                                            GPumpAppPrivate);
 
55
  
51
56
}
52
57
 
53
58
void gpump_app_class_init (GPumpAppClass * klass) {
77
82
  gtk_header_bar_set_title (GTK_HEADER_BAR (header_bar), "GPump");
78
83
  gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (header_bar), TRUE);
79
84
  
80
 
  /*
 
85
  
81
86
  GtkListStore * post_list_store = priv->post_list_store =
82
87
    gtk_list_store_new ( GPUMP_APP_MAIN_LIST_NUM_COL, GTK_TYPE_WIDGET);
83
 
  */
 
88
  
84
89
  GtkWidget * post_list_view = priv->post_list_view =
85
90
    gtk_tree_view_new ();
86
91
  
87
 
  /*
 
92
  
88
93
  gtk_tree_view_set_model (GTK_TREE_VIEW (post_list_view), GTK_TREE_MODEL(post_list_store));
89
 
  */
 
94
  
90
95
  /* adding widgets */
91
96
  gtk_window_set_titlebar (GTK_WINDOW (window), header_bar);
92
97