当前位置: 首页>>代码示例>>C++>>正文


C++ dt_control_signal_disconnect函数代码示例

本文整理汇总了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;
}
开发者ID:VolkerChristian,项目名称:darktable,代码行数:7,代码来源:duplicate.c

示例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;
}
开发者ID:dirkbr,项目名称:darktable,代码行数:8,代码来源:colorout.c

示例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;
}
开发者ID:AdamMajer,项目名称:darktable,代码行数:9,代码来源:tagging.c

示例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);
}
开发者ID:joergbeyer,项目名称:darktable,代码行数:10,代码来源:collection.c

示例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);
}
开发者ID:CarVac,项目名称:darktable,代码行数:11,代码来源:print.c

示例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;
}
开发者ID:Coshibu,项目名称:darktable,代码行数:7,代码来源:history.c

示例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;
}
开发者ID:itarozzi,项目名称:darktable,代码行数:7,代码来源:tagging.c

示例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;
}
开发者ID:rgo,项目名称:darktable,代码行数:7,代码来源:image.c

示例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;
}
开发者ID:sk1p,项目名称:darktable,代码行数:8,代码来源:navigation.c

示例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;
}
开发者ID:Acidburn0zzz,项目名称:darktable,代码行数:8,代码来源:recentcollect.c

示例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;
}
开发者ID:nagyistoce,项目名称:radhermit-darktable,代码行数:9,代码来源:collect.c

示例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;
}
开发者ID:ealasu,项目名称:darktable,代码行数:10,代码来源:keywords.c

示例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);
}
开发者ID:AdamMajer,项目名称:darktable,代码行数:19,代码来源:tethering.c

示例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);
}
开发者ID:AntonSh,项目名称:darktable,代码行数:12,代码来源:capture.c

示例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;
}
开发者ID:dtorop,项目名称:darktable,代码行数:12,代码来源:metadata.c


注:本文中的dt_control_signal_disconnect函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。