GVariant: use GVariantTypeInfo on internal constructors
[platform/upstream/glib.git] / glib / gmain.c
index e2b6ca3..e20128a 100644 (file)
@@ -4205,7 +4205,7 @@ g_main_context_add_poll_unlocked (GMainContext *context,
   nextrec = context->poll_records;
   while (nextrec)
     {
-      if (nextrec->fd > fd)
+      if (nextrec->fd->fd > fd->fd)
         break;
       prevrec = nextrec;
       nextrec = nextrec->next;