本文整理汇总了C++中dt_control_signal_disconnect函数的典型用法代码示例。如果您正苦于以下问题:C++ dt_control_signal_disconnect函数的具体用法?C++ dt_control_signal_disconnect怎么用?C++ dt_control_signal_disconnect使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dt_control_signal_disconnect函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_duplicate_init_callback), self);
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_duplicate_mipmap_updated_callback), self);
g_free(self->data);
self->data = NULL;
}
示例2: gui_cleanup
void gui_cleanup(struct dt_iop_module_t *self)
{
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_signal_profile_changed), self->dev);
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_preference_changed), self);
free(self->gui_data);
self->gui_data = NULL;
}
示例3: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
dt_lib_tagging_t *d = (dt_lib_tagging_t *)self->data;
dt_gui_key_accel_block_on_focus_disconnect(GTK_WIDGET(d->entry));
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_tagging_redraw_callback), self);
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_tagging_tags_changed_callback), self);
free(self->data);
self->data = NULL;
}
示例4: dt_collection_free
void
dt_collection_free (const dt_collection_t *collection)
{
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_dt_collection_recount_callback_1), (gpointer)collection);
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_dt_collection_recount_callback_2), (gpointer)collection);
g_free(collection->query);
g_free(collection->where_ext);
g_free ((dt_collection_t *)collection);
}
示例5: leave
void leave(dt_view_t *self)
{
/* disconnect from mipmap updated signal */
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_print_mipmaps_updated_signal_callback),
(gpointer)self);
/* disconnect from filmstrip image activate */
dt_control_signal_disconnect(darktable.signals,
G_CALLBACK(_view_print_filmstrip_activate_callback),
(gpointer)self);
}
示例6: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_history_change_callback), self);
g_free(self->data);
self->data = NULL;
}
示例7: gui_cleanup
void
gui_cleanup (dt_lib_module_t *self)
{
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_tagging_redraw_callback), self);
free(self->data);
self->data = NULL;
}
示例8: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_image_preference_changed), self);
free(self->data);
self->data = NULL;
}
示例9: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
/* disconnect from signal */
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_navigation_control_redraw_callback), self);
g_free(self->data);
self->data = NULL;
}
示例10: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
uint32_t curr_pos = dt_view_lighttable_get_position(darktable.view_manager);
dt_conf_set_int("plugins/lighttable/recentcollect/pos0", curr_pos);
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_recentcollection_updated), self);
free(self->data);
self->data = NULL;
}
示例11: gui_cleanup
void
gui_cleanup (dt_lib_module_t *self)
{
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(collection_updated), self);
darktable.view_manager->proxy.module_collect.module = NULL;
free(((dt_lib_collect_t*)self->data)->params);
free(self->data);
self->data = NULL;
}
示例12: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
// dt_lib_import_t *d = (dt_lib_import_t*)self->data;
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_lib_tag_gui_update), self);
/* cleanup mem */
g_free(self->data);
self->data = NULL;
}
示例13: leave
void leave(dt_view_t *self)
{
dt_capture_t *cv = (dt_capture_t *)self->data;
dt_camctl_unregister_listener(darktable.camctl, cv->listener);
g_free(cv->listener);
cv->listener = NULL;
/* destroy session, will cleanup empty film roll */
dt_import_session_destroy(cv->session);
/* disconnect from mipmap updated signal */
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_capture_mipmaps_updated_signal_callback),
(gpointer)self);
/* disconnect from filmstrip image activate */
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_view_capture_filmstrip_activate_callback),
(gpointer)self);
}
示例14: leave
void leave(dt_view_t *self)
{
dt_capture_t *cv = (dt_capture_t *)self->data;
if( dt_film_is_empty(cv->film->id) != 0)
dt_film_remove(cv->film->id );
/* disconnect from filmstrip image activate */
dt_control_signal_disconnect(darktable.signals,
G_CALLBACK(_view_capture_filmstrip_activate_callback),
(gpointer)self);
}
示例15: gui_cleanup
void gui_cleanup(dt_lib_module_t *self)
{
const dt_lib_metadata_t *d = (dt_lib_metadata_t *)self->data;
dt_control_signal_disconnect(darktable.signals, G_CALLBACK(_mouse_over_image_callback), self);
dt_gui_key_accel_block_on_focus_disconnect(GTK_WIDGET(gtk_bin_get_child(GTK_BIN(d->publisher))));
dt_gui_key_accel_block_on_focus_disconnect(GTK_WIDGET(gtk_bin_get_child(GTK_BIN(d->rights))));
dt_gui_key_accel_block_on_focus_disconnect(GTK_WIDGET(gtk_bin_get_child(GTK_BIN(d->title))));
dt_gui_key_accel_block_on_focus_disconnect(GTK_WIDGET(gtk_bin_get_child(GTK_BIN(d->description))));
dt_gui_key_accel_block_on_focus_disconnect(GTK_WIDGET(gtk_bin_get_child(GTK_BIN(d->creator))));
free(self->data);
self->data = NULL;
}