~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to gtk/gtkcustompaperunixdialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-23 09:50:04 UTC
  • mfrom: (1.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20090923095004-e9xauadn4bjs5n7m
Tags: upstream-2.18.0
ImportĀ upstreamĀ versionĀ 2.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
375
375
 
376
376
  result = g_object_new (GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG,
377
377
                         "title", title,
 
378
                         "transient-for", parent,
 
379
                         "modal", parent != NULL,
 
380
                         "destroy-with-parent", TRUE,
378
381
                         NULL);
379
382
 
380
 
  if (parent)
381
 
    {
382
 
      gtk_window_set_modal (GTK_WINDOW (result), TRUE);
383
 
      gtk_window_set_transient_for (GTK_WINDOW (result), parent);
384
 
      gtk_window_set_destroy_with_parent (GTK_WINDOW (result), TRUE);
385
 
    }
386
 
 
387
383
  return result;
388
384
}
389
385