comparison src/gtkimhtml.c @ 11677:8004885fabbe

[gaim-migrate @ 13963] Remove some things from the public namespace by making them static committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 17 Oct 2005 05:50:30 +0000
parents 03cd74ca2562
children 5d7da4056644
comparison
equal deleted inserted replaced
11676:0c54f9b0e67c 11677:8004885fabbe
360 360
361 t->image = smiley; 361 t->image = smiley;
362 } 362 }
363 363
364 364
365 void gtk_smiley_tree_destroy (GtkSmileyTree *tree) 365 static void
366 gtk_smiley_tree_destroy (GtkSmileyTree *tree)
366 { 367 {
367 GSList *list = g_slist_append (NULL, tree); 368 GSList *list = g_slist_append (NULL, tree);
368 369
369 while (list) { 370 while (list) {
370 GtkSmileyTree *t = list->data; 371 GtkSmileyTree *t = list->data;
587 GTK_IMHTML(imhtml)->tip = tip; 588 GTK_IMHTML(imhtml)->tip = tip;
588 g_slist_free(tags); 589 g_slist_free(tags);
589 return FALSE; 590 return FALSE;
590 } 591 }
591 592
592 gboolean gtk_enter_event_notify(GtkWidget *imhtml, GdkEventCrossing *event, gpointer data) 593 static gboolean
594 gtk_enter_event_notify(GtkWidget *imhtml, GdkEventCrossing *event, gpointer data)
593 { 595 {
594 if (GTK_IMHTML(imhtml)->editable) 596 if (GTK_IMHTML(imhtml)->editable)
595 gdk_window_set_cursor( 597 gdk_window_set_cursor(
596 gtk_text_view_get_window(GTK_TEXT_VIEW(imhtml), 598 gtk_text_view_get_window(GTK_TEXT_VIEW(imhtml),
597 GTK_TEXT_WINDOW_TEXT), 599 GTK_TEXT_WINDOW_TEXT),
604 606
605 /* propagate the event normally */ 607 /* propagate the event normally */
606 return FALSE; 608 return FALSE;
607 } 609 }
608 610
609 gboolean gtk_leave_event_notify(GtkWidget *imhtml, GdkEventCrossing *event, gpointer data) 611 static gboolean
612 gtk_leave_event_notify(GtkWidget *imhtml, GdkEventCrossing *event, gpointer data)
610 { 613 {
611 /* when leaving the widget, clear any current & pending tooltips and restore the cursor */ 614 /* when leaving the widget, clear any current & pending tooltips and restore the cursor */
612 if (GTK_IMHTML(imhtml)->prelit_tag) { 615 if (GTK_IMHTML(imhtml)->prelit_tag) {
613 GdkColor *norm; 616 GdkColor *norm;
614 gtk_widget_style_get(GTK_WIDGET(imhtml), "hyperlink-color", &norm, NULL); 617 gtk_widget_style_get(GTK_WIDGET(imhtml), "hyperlink-color", &norm, NULL);
1887 } 1890 }
1888 1891
1889 return t->image; 1892 return t->image;
1890 } 1893 }
1891 1894
1892 GdkPixbufAnimation * 1895 static GdkPixbufAnimation *
1893 gtk_smiley_tree_image (GtkIMHtml *imhtml, 1896 gtk_smiley_tree_image (GtkIMHtml *imhtml,
1894 const gchar *sml, 1897 const gchar *sml,
1895 const gchar *text) 1898 const gchar *text)
1896 { 1899 {
1897 1900