From: Bert Vermeulen Date: Wed, 15 Feb 2012 02:18:48 +0000 (+0100) Subject: sr: rename all sr_hwplugin(s)_* functions to sr_hw_* X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=a9f1783afa00884dad2d6f01c5d7932f59d75aae;p=sigrok-gtk.git sr: rename all sr_hwplugin(s)_* functions to sr_hw_* --- diff --git a/toolbar.c b/toolbar.c index 3a3f835..76e1ab5 100644 --- a/toolbar.c +++ b/toolbar.c @@ -143,7 +143,7 @@ static void dev_set_options(GtkAction *action, GtkWindow *parent) GtkTreeIter iter; for (cap = 0; capabilities[cap]; cap++) { struct sr_hwcap_option *hwo; - if (!(hwo = sr_hwplugins_hwcap_get(capabilities[cap]))) + if (!(hwo = sr_hw_hwcap_get(capabilities[cap]))) continue; gtk_list_store_append(props, &iter); gtk_list_store_set(props, &iter, @@ -354,7 +354,7 @@ static void capture_run(GtkAction *action, GObject *parent) } if (time_msec) { - if (sr_hwplugin_has_hwcap(device->plugin, SR_HWCAP_LIMIT_MSEC)) { + if (sr_hw_has_hwcap(device->plugin, SR_HWCAP_LIMIT_MSEC)) { if (device->plugin->set_configuration(device->plugin_index, SR_HWCAP_LIMIT_MSEC, &time_msec) != SR_OK) {