~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/hooks.c

  • Committer: Michael Terry
  • Date: 2010-10-05 16:33:46 UTC
  • mto: This revision was merged to the branch mainline in revision 596.
  • Revision ID: mike@mterry.name-20101005163346-vbxd68bcj5wavrhv
* Add --disable-deprecations configure flag to test for deprecated API use
* Don't use deprecated API, and update required version of GTK+ to match
  LP: #655231

Show diffs side-by-side

added added

removed removed

Lines of Context:
547
547
      return FALSE;
548
548
 
549
549
   GtkWidget *d = GTK_WIDGET (gtk_builder_get_object(priv->gtk_builder,"dialog_hooks"));
550
 
   if((d && GTK_WIDGET_VISIBLE(d)) || priv->active_notification != NULL)
 
550
   if((d && gtk_widget_get_visible(d)) || priv->active_notification != NULL)
551
551
      return FALSE;
552
552
 
553
553
   GdkRectangle area;