X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=toolbar.c;h=b9a79784fe2a318280106775d4c00267ce5ecd08;hb=5e0a82389da459bc5e0ea05933d2cd2e8d4f084c;hp=0d7c6faba264c720bde03d61c8640fcd87a46cf5;hpb=a4f48bca49eb316be707abceda0ad964ddadc510;p=sigrok-gtk.git diff --git a/toolbar.c b/toolbar.c index 0d7c6fa..b9a7978 100644 --- a/toolbar.c +++ b/toolbar.c @@ -230,7 +230,7 @@ static void probe_named(GtkCellRendererText *cel, gchar *path, gchar *text, gtk_tree_model_get_iter_from_string(probes, &iter, path); gtk_tree_model_get(probes, &iter, PROBE_NUMBER, &i, -1); - sr_dev_probe_name(dev, i, text); + sr_dev_probe_name_set(dev, i, text); gtk_list_store_set(GTK_LIST_STORE(probes), &iter, PROBE_NAME, text, -1); } @@ -353,7 +353,7 @@ static void capture_run(GtkAction *action, GObject *parent) } if (time_msec) { - if (sr_hw_has_hwcap(dev->driver, SR_HWCAP_LIMIT_MSEC)) { + if (sr_driver_hwcap_exists(dev->driver, SR_HWCAP_LIMIT_MSEC)) { if (dev->driver->dev_config_set(dev->driver_index, SR_HWCAP_LIMIT_MSEC, &time_msec) != SR_OK) {