~ubuntu-branches/debian/jessie/cheese/jessie

« back to all changes in this revision

Viewing changes to libcheese/cheese-flash.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-02-07 00:39:22 UTC
  • mto: (15.1.2 experimental) (1.6.1)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20120207003922-gr3zub1aeli4nomr
Tags: upstream-3.3.5
ImportĀ upstreamĀ versionĀ 3.3.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
{
257
257
  CheeseFlashPrivate *priv = CHEESE_FLASH (object)->priv;
258
258
 
259
 
  if (priv->parent != NULL)
260
 
  {
261
 
    g_object_unref (priv->parent);
262
 
    priv->parent = NULL;
263
 
  }
 
259
  g_clear_object (&priv->parent);
264
260
 
265
261
  if (G_OBJECT_CLASS (cheese_flash_parent_class)->dispose)
266
262
    G_OBJECT_CLASS (cheese_flash_parent_class)->dispose (object);
319
315
                                                 "Parent widget",
320
316
                                                 "The flash will be fired on the screen where the parent widget is shown",
321
317
                                                 GTK_TYPE_WIDGET,
322
 
                                                 G_PARAM_WRITABLE);
 
318
                                                 G_PARAM_WRITABLE |
 
319
                                                 G_PARAM_STATIC_STRINGS);
323
320
 
324
321
  g_object_class_install_properties (object_class, PROP_LAST, properties);
325
322
}