[gnome-love] natilus text component compilation issues.



Hey y'all, I've started trying to get the Nautilus text view component to
compile and am I'm getting hung up on this error:

nautilus-text-view.c: In function `get_selected_text':
nautilus-text-view.c:479: dereferencing pointer to incomplete type
nautilus-text-view.c:479: dereferencing pointer to incomplete type
nautilus-text-view.c:479: dereferencing pointer to incomplete type
nautilus-text-view.c:483: dereferencing pointer to incomplete type
nautilus-text-view.c:483: dereferencing pointer to incomplete type
nautilus-text-view.c: In function `update_service_menu_items':
nautilus-text-view.c:748: dereferencing pointer to incomplete type
nautilus-text-view.c:748: dereferencing pointer to incomplete type
nautilus-text-view.c:748: dereferencing pointer to incomplete type
make[1]: *** [nautilus-text-view.o] Error 1
make[1]: Leaving directory `/gnome/head/cvs/nautilus/components/text'
make: *** [all-recursive] Error 1

in the fucntion:

static char *
get_selected_text (GtkEditable *text_widget)
{
  if (!text_widget->has_selection || text_widget->selection_start_pos == 
    text_widget->selection_end_pos) {
  
    return NULL;
  }
  
  return gtk_editable_get_chars (text_widget, 
    text_widget->selection_start_pos, text_widget->selection_end_pos);
}

Can someone let me know what is causing this error?  It's probably
something pretty obvious to a seasoned Gtk+ hacker, but I am still
learning the ropes.

Thanks.

________________________________________________________________
Josh .. Yoshi .. Joschi .. xiphoidprocess.com .. eds.org/~joschi






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]