aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_gtkmm2.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-27 11:36:09 -0500
committerDavid Robillard <d@drobilla.net>2018-12-27 11:36:09 -0500
commit8311df91cc212adf3220acfcb50ab63414fe9dd6 (patch)
tree33cff10eabf06ba7f53828d77b742b8d6e5bbb37 /src/jalv_gtkmm2.cpp
parent566d380c32d3211517263e221d0903ca7533848b (diff)
downloadjalv-8311df91cc212adf3220acfcb50ab63414fe9dd6.tar.gz
jalv-8311df91cc212adf3220acfcb50ab63414fe9dd6.tar.bz2
jalv-8311df91cc212adf3220acfcb50ab63414fe9dd6.zip
Remove unused jalv_ui_resize()
This function was added many years ago to support the UI resize feature, but has been dead code for a long time and nobody seems to have noticed, so it can't be that important.
Diffstat (limited to 'src/jalv_gtkmm2.cpp')
-rw-r--r--src/jalv_gtkmm2.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/jalv_gtkmm2.cpp b/src/jalv_gtkmm2.cpp
index ae0ac96..7e70a07 100644
--- a/src/jalv_gtkmm2.cpp
+++ b/src/jalv_gtkmm2.cpp
@@ -35,19 +35,6 @@ jalv_native_ui_type(void)
return "http://lv2plug.in/ns/extensions/ui#GtkUI";
}
-int
-jalv_ui_resize(Jalv* jalv, int width, int height)
-{
- if (jalv->ui_instance) {
- GtkWidget* widget = GTK_WIDGET(
- suil_instance_get_widget(jalv->ui_instance));
- if (widget) {
- gtk_widget_set_size_request(GTK_WIDGET(widget), width, height);
- }
- }
- return 0;
-}
-
void
jalv_ui_port_event(Jalv* jalv,
uint32_t port_index,