diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-06-16 11:56:48 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-06-16 11:56:48 +0300 |
commit | 60321edb8c2626106837b477860c5998265a356a (patch) | |
tree | 002e6d05942a9fe1b03dd5f20431534cd0908c2f /utils/togglerecord/examples | |
parent | 61f76548bcf8a7c9313ba29b3af6be01564fb127 (diff) |
Update for new_with_XXX/new_from_XXX function renaming
Diffstat (limited to 'utils/togglerecord/examples')
-rw-r--r-- | utils/togglerecord/examples/gtk_recording.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/togglerecord/examples/gtk_recording.rs b/utils/togglerecord/examples/gtk_recording.rs index 8f0bc0bb..381d8026 100644 --- a/utils/togglerecord/examples/gtk_recording.rs +++ b/utils/togglerecord/examples/gtk_recording.rs @@ -219,9 +219,9 @@ fn create_ui(app: >k::Application) { vbox.pack_start(&hbox, false, false, 5); let hbox = gtk::Box::new(gtk::Orientation::Horizontal, 0); - let record_button = gtk::Button::new_with_label("Record"); + let record_button = gtk::Button::with_label("Record"); hbox.pack_start(&record_button, true, true, 5); - let finish_button = gtk::Button::new_with_label("Finish"); + let finish_button = gtk::Button::with_label("Finish"); hbox.pack_start(&finish_button, true, true, 5); vbox.pack_start(&hbox, false, false, 5); |