The boolean _gtk_entry_completion_resize_popup's return
value is not used anywhere, and only adds more complexity
for the method.
https://bugzilla.gnome.org/show_bug.cgi?id=751913
/* some nasty size requisition */
-gboolean
+void
_gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
{
GtkAllocation allocation;
window = gtk_widget_get_window (completion->priv->entry);
if (!window)
- return FALSE;
+ return;
if (!completion->priv->filter_model)
- return FALSE;
+ return;
gtk_widget_get_allocation (completion->priv->entry, &allocation);
gtk_widget_get_preferred_size (completion->priv->entry,
}
gtk_window_move (GTK_WINDOW (completion->priv->popup_window), x, y);
-
- return above;
}
static void
GdkDevice *device;
};
-gboolean _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion);
+void _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion);
void _gtk_entry_completion_popdown (GtkEntryCompletion *completion);
void _gtk_entry_completion_connect (GtkEntryCompletion *completion,
GtkEntry *entry);