~ubuntu-branches/debian/sid/ibus/sid

« back to all changes in this revision

Viewing changes to ui/gtk3/candidatearea.c

  • Committer: Package Import Robot
  • Author(s): Osamu Aoki, Aron Xu, Osamu Aoki
  • Date: 2014-08-04 22:42:19 UTC
  • mfrom: (1.5.7)
  • Revision ID: package-import@ubuntu.com-20140804224219-mjprlql1jdwi5sxm
Tags: 1.5.8-1
[ Aron Xu ]
* Allow parallel building

[ Osamu Aoki ]
* Update ibus document with Qt5 support

[ Aron Xu ]
* Imported Upstream version 1.5.8
* Remove patch for chasing HEAD, imported new upstream release
* Remove the patch for updating IBusKeymap jp, applied upstream
* Drop gtk2 version of the password patch because it's never executed
* Drop ibus-541492-xkb.patch
* Drop ibus-530711-preload-sys.patch
* Drop ibus-810211-no-switch-by-no-trigger.patch
* Drop 999-update-po.patch

[ Osamu Aoki ]
* linux-any for ibus-wayland
* Remove some symbols matching ibus-541492-xkb.patch
* Remove old patch for GTK+ 3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1062
1062
                                        GtkLabel* _tmp55_ = NULL;
1063
1063
                                        GtkLabel* _tmp56_ = NULL;
1064
1064
                                        GtkLabel* _tmp57_ = NULL;
1065
 
                                        GtkLabel** _tmp58_ = NULL;
1066
 
                                        gint _tmp58__length1 = 0;
1067
 
                                        GtkLabel* _tmp59_ = NULL;
 
1065
                                        GtkLabel* _tmp58_ = NULL;
 
1066
                                        GtkLabel** _tmp59_ = NULL;
 
1067
                                        gint _tmp59__length1 = 0;
1068
1068
                                        GtkLabel* _tmp60_ = NULL;
1069
 
                                        GtkLabel* candidate = NULL;
1070
1069
                                        GtkLabel* _tmp61_ = NULL;
 
1070
                                        GtkLabel* candidate = NULL;
1071
1071
                                        GtkLabel* _tmp62_ = NULL;
1072
1072
                                        GtkLabel* _tmp63_ = NULL;
1073
 
                                        GtkLabel** _tmp64_ = NULL;
1074
 
                                        gint _tmp64__length1 = 0;
 
1073
                                        GtkLabel* _tmp64_ = NULL;
1075
1074
                                        GtkLabel* _tmp65_ = NULL;
1076
 
                                        GtkLabel* _tmp66_ = NULL;
 
1075
                                        GtkLabel** _tmp66_ = NULL;
 
1076
                                        gint _tmp66__length1 = 0;
1077
1077
                                        GtkLabel* _tmp67_ = NULL;
1078
 
                                        GValue _tmp68_ = {0};
 
1078
                                        GtkLabel* _tmp68_ = NULL;
1079
1079
                                        GtkLabel* _tmp69_ = NULL;
1080
 
                                        GValue _tmp70_ = {0};
 
1080
                                        GtkLabel* _tmp70_ = NULL;
1081
1081
                                        gint _tmp71_ = 0;
1082
1082
                                        GtkEventBox* label_ebox = NULL;
1083
1083
                                        GtkEventBox* _tmp72_ = NULL;
1124
1124
                                        g_object_ref_sink (_tmp55_);
1125
1125
                                        label = _tmp55_;
1126
1126
                                        _tmp56_ = label;
1127
 
                                        gtk_misc_set_alignment ((GtkMisc*) _tmp56_, 0.0f, 0.5f);
 
1127
                                        gtk_widget_set_halign ((GtkWidget*) _tmp56_, GTK_ALIGN_START);
1128
1128
                                        _tmp57_ = label;
1129
 
                                        gtk_widget_show ((GtkWidget*) _tmp57_);
1130
 
                                        _tmp58_ = self->priv->m_labels;
1131
 
                                        _tmp58__length1 = self->priv->m_labels_length1;
1132
 
                                        _tmp59_ = label;
1133
 
                                        _tmp60_ = _g_object_ref0 (_tmp59_);
1134
 
                                        _vala_array_add1 (&self->priv->m_labels, &self->priv->m_labels_length1, &self->priv->_m_labels_size_, _tmp60_);
1135
 
                                        _tmp61_ = (GtkLabel*) gtk_label_new ("test");
1136
 
                                        g_object_ref_sink (_tmp61_);
1137
 
                                        candidate = _tmp61_;
1138
 
                                        _tmp62_ = candidate;
1139
 
                                        gtk_misc_set_alignment ((GtkMisc*) _tmp62_, 0.0f, 0.5f);
 
1129
                                        gtk_widget_set_valign ((GtkWidget*) _tmp57_, GTK_ALIGN_CENTER);
 
1130
                                        _tmp58_ = label;
 
1131
                                        gtk_widget_show ((GtkWidget*) _tmp58_);
 
1132
                                        _tmp59_ = self->priv->m_labels;
 
1133
                                        _tmp59__length1 = self->priv->m_labels_length1;
 
1134
                                        _tmp60_ = label;
 
1135
                                        _tmp61_ = _g_object_ref0 (_tmp60_);
 
1136
                                        _vala_array_add1 (&self->priv->m_labels, &self->priv->m_labels_length1, &self->priv->_m_labels_size_, _tmp61_);
 
1137
                                        _tmp62_ = (GtkLabel*) gtk_label_new ("test");
 
1138
                                        g_object_ref_sink (_tmp62_);
 
1139
                                        candidate = _tmp62_;
1140
1140
                                        _tmp63_ = candidate;
1141
 
                                        gtk_widget_show ((GtkWidget*) _tmp63_);
1142
 
                                        _tmp64_ = self->priv->m_candidates;
1143
 
                                        _tmp64__length1 = self->priv->m_candidates_length1;
 
1141
                                        gtk_widget_set_halign ((GtkWidget*) _tmp63_, GTK_ALIGN_START);
 
1142
                                        _tmp64_ = candidate;
 
1143
                                        gtk_widget_set_valign ((GtkWidget*) _tmp64_, GTK_ALIGN_CENTER);
1144
1144
                                        _tmp65_ = candidate;
1145
 
                                        _tmp66_ = _g_object_ref0 (_tmp65_);
1146
 
                                        _vala_array_add2 (&self->priv->m_candidates, &self->priv->m_candidates_length1, &self->priv->_m_candidates_size_, _tmp66_);
1147
 
                                        _tmp67_ = label;
1148
 
                                        g_value_init (&_tmp68_, G_TYPE_INT);
1149
 
                                        g_value_set_int (&_tmp68_, 8);
1150
 
                                        g_object_set_property ((GObject*) _tmp67_, "xpad", &_tmp68_);
1151
 
                                        G_IS_VALUE (&_tmp68_) ? (g_value_unset (&_tmp68_), NULL) : NULL;
1152
 
                                        _tmp69_ = candidate;
1153
 
                                        g_value_init (&_tmp70_, G_TYPE_INT);
1154
 
                                        g_value_set_int (&_tmp70_, 8);
1155
 
                                        g_object_set_property ((GObject*) _tmp69_, "xpad", &_tmp70_);
1156
 
                                        G_IS_VALUE (&_tmp70_) ? (g_value_unset (&_tmp70_), NULL) : NULL;
 
1145
                                        gtk_widget_show ((GtkWidget*) _tmp65_);
 
1146
                                        _tmp66_ = self->priv->m_candidates;
 
1147
                                        _tmp66__length1 = self->priv->m_candidates_length1;
 
1148
                                        _tmp67_ = candidate;
 
1149
                                        _tmp68_ = _g_object_ref0 (_tmp67_);
 
1150
                                        _vala_array_add2 (&self->priv->m_candidates, &self->priv->m_candidates_length1, &self->priv->_m_candidates_size_, _tmp68_);
 
1151
                                        _tmp69_ = label;
 
1152
                                        gtk_misc_set_padding ((GtkMisc*) _tmp69_, 8, 0);
 
1153
                                        _tmp70_ = candidate;
 
1154
                                        gtk_misc_set_padding ((GtkMisc*) _tmp70_, 8, 0);
1157
1155
                                        _tmp71_ = _data1_->i;
1158
1156
                                        _data2_->index = _tmp71_;
1159
1157
                                        _tmp72_ = (GtkEventBox*) gtk_event_box_new ();
1215
1213
                GtkLabel** _tmp94_ = NULL;
1216
1214
                GtkLabel** _tmp95_ = NULL;
1217
1215
                GtkWidget** _tmp96_ = NULL;
1218
 
                GtkBox* _tmp131_ = NULL;
1219
 
                VSeparator* _tmp132_ = NULL;
1220
 
                VSeparator* _tmp133_ = NULL;
1221
 
                GtkBox* _tmp134_ = NULL;
1222
 
                GtkButton* _tmp135_ = NULL;
 
1216
                GtkBox* _tmp133_ = NULL;
 
1217
                VSeparator* _tmp134_ = NULL;
 
1218
                VSeparator* _tmp135_ = NULL;
1223
1219
                GtkBox* _tmp136_ = NULL;
1224
1220
                GtkButton* _tmp137_ = NULL;
 
1221
                GtkBox* _tmp138_ = NULL;
 
1222
                GtkButton* _tmp139_ = NULL;
1225
1223
                _tmp92_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
1226
1224
                g_object_ref_sink (_tmp92_);
1227
1225
                hbox = _tmp92_;
1257
1255
                                        GtkLabel* _tmp102_ = NULL;
1258
1256
                                        GtkLabel* _tmp103_ = NULL;
1259
1257
                                        GtkLabel* _tmp104_ = NULL;
1260
 
                                        GtkLabel** _tmp105_ = NULL;
1261
 
                                        gint _tmp105__length1 = 0;
1262
 
                                        GtkLabel* _tmp106_ = NULL;
 
1258
                                        GtkLabel* _tmp105_ = NULL;
 
1259
                                        GtkLabel** _tmp106_ = NULL;
 
1260
                                        gint _tmp106__length1 = 0;
1263
1261
                                        GtkLabel* _tmp107_ = NULL;
1264
 
                                        GtkLabel* candidate = NULL;
1265
1262
                                        GtkLabel* _tmp108_ = NULL;
 
1263
                                        GtkLabel* candidate = NULL;
1266
1264
                                        GtkLabel* _tmp109_ = NULL;
1267
1265
                                        GtkLabel* _tmp110_ = NULL;
1268
 
                                        GtkLabel** _tmp111_ = NULL;
1269
 
                                        gint _tmp111__length1 = 0;
 
1266
                                        GtkLabel* _tmp111_ = NULL;
1270
1267
                                        GtkLabel* _tmp112_ = NULL;
1271
 
                                        GtkLabel* _tmp113_ = NULL;
 
1268
                                        GtkLabel** _tmp113_ = NULL;
 
1269
                                        gint _tmp113__length1 = 0;
 
1270
                                        GtkLabel* _tmp114_ = NULL;
 
1271
                                        GtkLabel* _tmp115_ = NULL;
1272
1272
                                        GtkBox* candidate_hbox = NULL;
1273
 
                                        GtkBox* _tmp114_ = NULL;
1274
 
                                        GtkBox* _tmp115_ = NULL;
1275
1273
                                        GtkBox* _tmp116_ = NULL;
1276
 
                                        GtkLabel* _tmp117_ = NULL;
 
1274
                                        GtkBox* _tmp117_ = NULL;
1277
1275
                                        GtkBox* _tmp118_ = NULL;
1278
1276
                                        GtkLabel* _tmp119_ = NULL;
1279
 
                                        gint _tmp120_ = 0;
 
1277
                                        GtkBox* _tmp120_ = NULL;
 
1278
                                        GtkLabel* _tmp121_ = NULL;
 
1279
                                        gint _tmp122_ = 0;
1280
1280
                                        GtkEventBox* ebox = NULL;
1281
 
                                        GtkEventBox* _tmp121_ = NULL;
1282
 
                                        GtkEventBox* _tmp122_ = NULL;
1283
1281
                                        GtkEventBox* _tmp123_ = NULL;
1284
1282
                                        GtkEventBox* _tmp124_ = NULL;
1285
 
                                        GtkBox* _tmp125_ = NULL;
1286
 
                                        GtkBox* _tmp126_ = NULL;
1287
 
                                        GtkEventBox* _tmp127_ = NULL;
1288
 
                                        GtkWidget** _tmp128_ = NULL;
1289
 
                                        gint _tmp128__length1 = 0;
 
1283
                                        GtkEventBox* _tmp125_ = NULL;
 
1284
                                        GtkEventBox* _tmp126_ = NULL;
 
1285
                                        GtkBox* _tmp127_ = NULL;
 
1286
                                        GtkBox* _tmp128_ = NULL;
1290
1287
                                        GtkEventBox* _tmp129_ = NULL;
1291
 
                                        GtkWidget* _tmp130_ = NULL;
 
1288
                                        GtkWidget** _tmp130_ = NULL;
 
1289
                                        gint _tmp130__length1 = 0;
 
1290
                                        GtkEventBox* _tmp131_ = NULL;
 
1291
                                        GtkWidget* _tmp132_ = NULL;
1292
1292
                                        _data3_ = g_slice_new0 (Block3Data);
1293
1293
                                        _data3_->_ref_count_ = 1;
1294
1294
                                        _data3_->self = g_object_ref (self);
1310
1310
                                        g_object_ref_sink (_tmp102_);
1311
1311
                                        label = _tmp102_;
1312
1312
                                        _tmp103_ = label;
1313
 
                                        gtk_misc_set_alignment ((GtkMisc*) _tmp103_, 0.0f, 0.5f);
 
1313
                                        gtk_widget_set_halign ((GtkWidget*) _tmp103_, GTK_ALIGN_START);
1314
1314
                                        _tmp104_ = label;
1315
 
                                        gtk_widget_show ((GtkWidget*) _tmp104_);
1316
 
                                        _tmp105_ = self->priv->m_labels;
1317
 
                                        _tmp105__length1 = self->priv->m_labels_length1;
1318
 
                                        _tmp106_ = label;
1319
 
                                        _tmp107_ = _g_object_ref0 (_tmp106_);
1320
 
                                        _vala_array_add5 (&self->priv->m_labels, &self->priv->m_labels_length1, &self->priv->_m_labels_size_, _tmp107_);
1321
 
                                        _tmp108_ = (GtkLabel*) gtk_label_new ("test");
1322
 
                                        g_object_ref_sink (_tmp108_);
1323
 
                                        candidate = _tmp108_;
1324
 
                                        _tmp109_ = candidate;
1325
 
                                        gtk_misc_set_alignment ((GtkMisc*) _tmp109_, 0.0f, 0.5f);
 
1315
                                        gtk_widget_set_valign ((GtkWidget*) _tmp104_, GTK_ALIGN_CENTER);
 
1316
                                        _tmp105_ = label;
 
1317
                                        gtk_widget_show ((GtkWidget*) _tmp105_);
 
1318
                                        _tmp106_ = self->priv->m_labels;
 
1319
                                        _tmp106__length1 = self->priv->m_labels_length1;
 
1320
                                        _tmp107_ = label;
 
1321
                                        _tmp108_ = _g_object_ref0 (_tmp107_);
 
1322
                                        _vala_array_add5 (&self->priv->m_labels, &self->priv->m_labels_length1, &self->priv->_m_labels_size_, _tmp108_);
 
1323
                                        _tmp109_ = (GtkLabel*) gtk_label_new ("test");
 
1324
                                        g_object_ref_sink (_tmp109_);
 
1325
                                        candidate = _tmp109_;
1326
1326
                                        _tmp110_ = candidate;
1327
 
                                        gtk_widget_show ((GtkWidget*) _tmp110_);
1328
 
                                        _tmp111_ = self->priv->m_candidates;
1329
 
                                        _tmp111__length1 = self->priv->m_candidates_length1;
 
1327
                                        gtk_widget_set_halign ((GtkWidget*) _tmp110_, GTK_ALIGN_START);
 
1328
                                        _tmp111_ = candidate;
 
1329
                                        gtk_widget_set_valign ((GtkWidget*) _tmp111_, GTK_ALIGN_CENTER);
1330
1330
                                        _tmp112_ = candidate;
1331
 
                                        _tmp113_ = _g_object_ref0 (_tmp112_);
1332
 
                                        _vala_array_add6 (&self->priv->m_candidates, &self->priv->m_candidates_length1, &self->priv->_m_candidates_size_, _tmp113_);
1333
 
                                        _tmp114_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
1334
 
                                        g_object_ref_sink (_tmp114_);
1335
 
                                        candidate_hbox = _tmp114_;
1336
 
                                        _tmp115_ = candidate_hbox;
1337
 
                                        gtk_widget_show ((GtkWidget*) _tmp115_);
1338
 
                                        _tmp116_ = candidate_hbox;
1339
 
                                        _tmp117_ = label;
1340
 
                                        gtk_box_pack_start (_tmp116_, (GtkWidget*) _tmp117_, FALSE, FALSE, (guint) 2);
 
1331
                                        gtk_widget_show ((GtkWidget*) _tmp112_);
 
1332
                                        _tmp113_ = self->priv->m_candidates;
 
1333
                                        _tmp113__length1 = self->priv->m_candidates_length1;
 
1334
                                        _tmp114_ = candidate;
 
1335
                                        _tmp115_ = _g_object_ref0 (_tmp114_);
 
1336
                                        _vala_array_add6 (&self->priv->m_candidates, &self->priv->m_candidates_length1, &self->priv->_m_candidates_size_, _tmp115_);
 
1337
                                        _tmp116_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
1338
                                        g_object_ref_sink (_tmp116_);
 
1339
                                        candidate_hbox = _tmp116_;
 
1340
                                        _tmp117_ = candidate_hbox;
 
1341
                                        gtk_widget_show ((GtkWidget*) _tmp117_);
1341
1342
                                        _tmp118_ = candidate_hbox;
1342
 
                                        _tmp119_ = candidate;
 
1343
                                        _tmp119_ = label;
1343
1344
                                        gtk_box_pack_start (_tmp118_, (GtkWidget*) _tmp119_, FALSE, FALSE, (guint) 2);
1344
 
                                        _tmp120_ = i;
1345
 
                                        _data3_->index = _tmp120_;
1346
 
                                        _tmp121_ = (GtkEventBox*) gtk_event_box_new ();
1347
 
                                        g_object_ref_sink (_tmp121_);
1348
 
                                        ebox = _tmp121_;
1349
 
                                        _tmp122_ = ebox;
1350
 
                                        gtk_widget_set_no_show_all ((GtkWidget*) _tmp122_, TRUE);
1351
 
                                        _tmp123_ = ebox;
1352
 
                                        g_signal_connect_data ((GtkWidget*) _tmp123_, "button-press-event", (GCallback) _______lambda7__gtk_widget_button_press_event, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
 
1345
                                        _tmp120_ = candidate_hbox;
 
1346
                                        _tmp121_ = candidate;
 
1347
                                        gtk_box_pack_start (_tmp120_, (GtkWidget*) _tmp121_, FALSE, FALSE, (guint) 2);
 
1348
                                        _tmp122_ = i;
 
1349
                                        _data3_->index = _tmp122_;
 
1350
                                        _tmp123_ = (GtkEventBox*) gtk_event_box_new ();
 
1351
                                        g_object_ref_sink (_tmp123_);
 
1352
                                        ebox = _tmp123_;
1353
1353
                                        _tmp124_ = ebox;
1354
 
                                        _tmp125_ = candidate_hbox;
1355
 
                                        gtk_container_add ((GtkContainer*) _tmp124_, (GtkWidget*) _tmp125_);
1356
 
                                        _tmp126_ = hbox;
1357
 
                                        _tmp127_ = ebox;
1358
 
                                        gtk_box_pack_start (_tmp126_, (GtkWidget*) _tmp127_, FALSE, FALSE, (guint) 4);
1359
 
                                        _tmp128_ = self->priv->m_widgets;
1360
 
                                        _tmp128__length1 = self->priv->m_widgets_length1;
 
1354
                                        gtk_widget_set_no_show_all ((GtkWidget*) _tmp124_, TRUE);
 
1355
                                        _tmp125_ = ebox;
 
1356
                                        g_signal_connect_data ((GtkWidget*) _tmp125_, "button-press-event", (GCallback) _______lambda7__gtk_widget_button_press_event, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
 
1357
                                        _tmp126_ = ebox;
 
1358
                                        _tmp127_ = candidate_hbox;
 
1359
                                        gtk_container_add ((GtkContainer*) _tmp126_, (GtkWidget*) _tmp127_);
 
1360
                                        _tmp128_ = hbox;
1361
1361
                                        _tmp129_ = ebox;
1362
 
                                        _tmp130_ = _g_object_ref0 ((GtkWidget*) _tmp129_);
1363
 
                                        _vala_array_add7 (&self->priv->m_widgets, &self->priv->m_widgets_length1, &self->priv->_m_widgets_size_, _tmp130_);
 
1362
                                        gtk_box_pack_start (_tmp128_, (GtkWidget*) _tmp129_, FALSE, FALSE, (guint) 4);
 
1363
                                        _tmp130_ = self->priv->m_widgets;
 
1364
                                        _tmp130__length1 = self->priv->m_widgets_length1;
 
1365
                                        _tmp131_ = ebox;
 
1366
                                        _tmp132_ = _g_object_ref0 ((GtkWidget*) _tmp131_);
 
1367
                                        _vala_array_add7 (&self->priv->m_widgets, &self->priv->m_widgets_length1, &self->priv->_m_widgets_size_, _tmp132_);
1364
1368
                                        _g_object_unref0 (ebox);
1365
1369
                                        _g_object_unref0 (candidate_hbox);
1366
1370
                                        _g_object_unref0 (candidate);
1370
1374
                                }
1371
1375
                        }
1372
1376
                }
1373
 
                _tmp131_ = hbox;
1374
 
                _tmp132_ = vseparator_new ();
1375
 
                g_object_ref_sink (_tmp132_);
1376
 
                _tmp133_ = _tmp132_;
1377
 
                gtk_box_pack_start (_tmp131_, (GtkWidget*) _tmp133_, FALSE, FALSE, (guint) 0);
1378
 
                _g_object_unref0 (_tmp133_);
1379
 
                _tmp134_ = hbox;
1380
 
                _tmp135_ = prev_button;
1381
 
                gtk_box_pack_start (_tmp134_, (GtkWidget*) _tmp135_, FALSE, FALSE, (guint) 0);
 
1377
                _tmp133_ = hbox;
 
1378
                _tmp134_ = vseparator_new ();
 
1379
                g_object_ref_sink (_tmp134_);
 
1380
                _tmp135_ = _tmp134_;
 
1381
                gtk_box_pack_start (_tmp133_, (GtkWidget*) _tmp135_, FALSE, FALSE, (guint) 0);
 
1382
                _g_object_unref0 (_tmp135_);
1382
1383
                _tmp136_ = hbox;
1383
 
                _tmp137_ = next_button;
 
1384
                _tmp137_ = prev_button;
1384
1385
                gtk_box_pack_start (_tmp136_, (GtkWidget*) _tmp137_, FALSE, FALSE, (guint) 0);
 
1386
                _tmp138_ = hbox;
 
1387
                _tmp139_ = next_button;
 
1388
                gtk_box_pack_start (_tmp138_, (GtkWidget*) _tmp139_, FALSE, FALSE, (guint) 0);
1385
1389
                _g_object_unref0 (hbox);
1386
1390
        }
1387
1391
        _g_object_unref0 (next_button);