[aravis] viewer: connect combo box 'changed' signal.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] viewer: connect combo box 'changed' signal.
- Date: Tue, 4 Jan 2011 14:25:26 +0000 (UTC)
commit 9c810fe5bfe1672ad3dcffd7536a11252048ddd3
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Tue Jan 4 15:25:05 2011 +0100
viewer: connect combo box 'changed' signal.
viewer/arvviewer.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/viewer/arvviewer.c b/viewer/arvviewer.c
index 6695781..28e0eb8 100644
--- a/viewer/arvviewer.c
+++ b/viewer/arvviewer.c
@@ -201,7 +201,9 @@ arv_viewer_new (void)
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (viewer->camera_combo_box), cell, "text", 0, NULL);
gtk_widget_show_all (viewer->main_window);
+
g_signal_connect (viewer->main_window, "destroy", G_CALLBACK (arv_viewer_quit_cb), viewer);
+ g_signal_connect (viewer->camera_combo_box, "changed", G_CALLBACK (arv_viewer_select_camera_cb), viewer);
return viewer;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]