blob: 1c8bed00e80cbf110859317c9e72a1f7e293b91b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ad,v 1.1 2005/03/16 13:18:34 rillig Exp $
gcc-2.95.3 does not like code intermixed with declarations.
--- bacon-cd-selection.c.orig Wed Nov 10 14:10:39 2004
+++ bacon-cd-selection.c Wed Mar 16 09:27:27 2005
@@ -179,11 +179,11 @@ cdrom_combo_box (BaconCdSelection *bcs,
static void
bacon_cd_selection_init (BaconCdSelection *bcs)
{
- bcs->priv = g_new0 (BaconCdSelectionPrivate, 1);
-
GtkCellRenderer *cell;
GtkListStore *store;
+ bcs->priv = g_new0 (BaconCdSelectionPrivate, 1);
+
store = gtk_list_store_new (1, G_TYPE_STRING);
gtk_combo_box_set_model (GTK_COMBO_BOX (bcs),
GTK_TREE_MODEL (store));
|