changeset 4046:4a3f863b041f

[gaim-migrate @ 4254] removing some old no-longer-used functions from gtkimhtml. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 04 Dec 2002 07:24:57 +0000
parents ee8cbe596e9a
children 0fccde7ed9b8
files src/gtkimhtml.c src/gtkimhtml.h src/prefs.c
diffstat 3 files changed, 5 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Wed Dec 04 06:10:02 2002 +0000
+++ b/src/gtkimhtml.c	Wed Dec 04 07:24:57 2002 +0000
@@ -24,6 +24,7 @@
 #endif
 #include "gtkimhtml.h"
 #include <gtk/gtk.h>
+#include <gdk/gdkkeysyms.h>
 #include <string.h>
 #include <ctype.h>
 #include <stdio.h>
@@ -1000,21 +1001,10 @@
 	return str;
 }
 
-void       gtk_imhtml_set_adjustments  (GtkIMHtml        *imhtml,
-					GtkAdjustment    *hadj,
-	GtkAdjustment    *vadj){}
-
-void       gtk_imhtml_set_defaults     (GtkIMHtml            *imhtml,
-					PangoFontDescription *font,
-					GdkColor             *fg_color,
-	GdkColor             *bg_color){}
-
 void       gtk_imhtml_set_img_handler  (GtkIMHtml        *imhtml,
 	GtkIMHtmlImage    handler){}
 
-void 	   gtk_imhtml_init_smileys     (GtkIMHtml *imhtml){}
 void       gtk_imhtml_remove_smileys   (GtkIMHtml        *imhtml){}
-void       gtk_imhtml_reset_smileys   (GtkIMHtml        *imhtml){}
 void       gtk_imhtml_show_smileys     (GtkIMHtml        *imhtml,
 	gboolean          show){}
 
@@ -1031,5 +1021,8 @@
 	gtk_text_buffer_delete(imhtml->text_buffer, &start, &end);
 }
 
-void       gtk_imhtml_page_up          (GtkIMHtml        *imhtml){}
+void gtk_imhtml_page_up (GtkIMHtml *imhtml)
+{
+
+}
 void       gtk_imhtml_page_down        (GtkIMHtml        *imhtml){}
--- a/src/gtkimhtml.h	Wed Dec 04 06:10:02 2002 +0000
+++ b/src/gtkimhtml.h	Wed Dec 04 07:24:57 2002 +0000
@@ -78,11 +78,6 @@
 					GtkAdjustment    *hadj,
 					GtkAdjustment    *vadj);
 
-void       gtk_imhtml_set_defaults     (GtkIMHtml            *imhtml,
-					PangoFontDescription *font,
-					GdkColor             *fg_color,
-					GdkColor             *bg_color);
-
 void       gtk_imhtml_set_img_handler  (GtkIMHtml        *imhtml,
 					GtkIMHtmlImage    handler);
 
@@ -91,12 +86,8 @@
 					gchar            *text,
 					gchar            *path);
 
-void 	   gtk_imhtml_init_smileys     (GtkIMHtml *imhtml);
-
 void       gtk_imhtml_remove_smileys   (GtkIMHtml        *imhtml);
 
-void       gtk_imhtml_reset_smileys   (GtkIMHtml        *imhtml);
-
 void       gtk_imhtml_show_smileys     (GtkIMHtml        *imhtml,
 					gboolean          show);
 
--- a/src/prefs.c	Wed Dec 04 06:10:02 2002 +0000
+++ b/src/prefs.c	Wed Dec 04 07:24:57 2002 +0000
@@ -1326,7 +1326,6 @@
 
 	gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(sw2), away_text);
 	gaim_setup_imhtml(away_text);
-	gtk_imhtml_set_defaults(GTK_IMHTML(away_text), NULL, NULL, NULL);
 	sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (event_view));
 	g_signal_connect (G_OBJECT (sel), "changed",
 			  G_CALLBACK (away_message_sel),