~ubuntu-branches/ubuntu/precise/gedit/precise

« back to all changes in this revision

Viewing changes to gedit/gedit-encodings-combo-box.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-04-14 16:41:13 UTC
  • mfrom: (1.1.78 upstream)
  • Revision ID: james.westby@ubuntu.com-20100414164113-0xgl3u73pcs0ngbc
Tags: 2.30.0git20100413-0ubuntu1
* Updating to git snaptshot since 2.30.1 will be after lucid
* debian/patches/90_autoconf.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
 
192
192
                GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (menu));
193
193
 
 
194
#if !GTK_CHECK_VERSION (2, 18, 0)
194
195
                if (!GTK_WIDGET_TOPLEVEL (toplevel))
 
196
#else
 
197
                if (!gtk_widget_is_toplevel (toplevel))
 
198
#endif
195
199
                        toplevel = NULL;
196
200
 
197
201
                g_signal_handler_block (menu, menu->priv->changed_id);