Author: akv
Date: 2010-01-12 22:48:35 +0100 (Tue, 12 Jan 2010)
New Revision: 2981
Modified:
branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.c
branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.h
Log:
Changed rs_lens_db_editor_single_lens() to return GtkDialog.
Modified: branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.c
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.c
2010-01-12 21:43:45 UTC (rev 2980)
+++ branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.c
2010-01-12 21:48:35 UTC (rev 2981)
@@ -36,7 +36,7 @@
static void fill_model(RSLensDb *lens_db, GtkTreeModel *tree_model);
static gboolean rs_lens_db_editor_update_lensfun();
-void rs_lens_db_editor_single_lens(RSLens *lens);
+GtkDialog *rs_lens_db_editor_single_lens(RSLens *lens);
typedef struct {
GtkWidget *lensfun_make;
@@ -749,7 +749,7 @@
rs_lens_set_lensfun_enabled(lens,
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbutton)));
}
-void
+GtkDialog *
rs_lens_db_editor_single_lens(RSLens *lens)
{
@@ -904,4 +904,5 @@
gtk_widget_show(label_lensfun_model);
gtk_widget_hide(button_set_lens);
}
+ return GTK_DIALOG(editor);
}
Modified: branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.h
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.h
2010-01-12 21:43:45 UTC (rev 2980)
+++ branches/rawstudio-ng-color/librawstudio/rs-lens-db-editor.h
2010-01-12 21:48:35 UTC (rev 2981)
@@ -35,6 +35,6 @@
extern void rs_lens_db_editor();
-extern void rs_lens_db_editor_single_lens(RSLens *lens);
+extern GtkDialog * rs_lens_db_editor_single_lens(RSLens *lens);
#endif /* RS_LENS_DB_EDITOR_H */
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit