Mercurial > pidgin
comparison src/gtkimhtml.c @ 10814:364a2ef907ae
[gaim-migrate @ 12468]
same thing here, changing to consistently using GTK+, by rlaager
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 11 Apr 2005 12:24:47 +0000 |
parents | 6f67d4088da0 |
children | 65c818fb218e |
comparison
equal
deleted
inserted
replaced
10813:290131d5f626 | 10814:364a2ef907ae |
---|---|
550 | 550 |
551 case GDK_End: | 551 case GDK_End: |
552 return TRUE; | 552 return TRUE; |
553 break; | 553 break; |
554 | 554 |
555 #endif /* !(Gtk+ >= 2.2.0) */ | 555 #endif /* !(GTK+ >= 2.2.0) */ |
556 } | 556 } |
557 | 557 |
558 return FALSE; | 558 return FALSE; |
559 } | 559 } |
560 | 560 |
962 | 962 |
963 static void paste_clipboard_cb(GtkIMHtml *imhtml, gpointer blah) | 963 static void paste_clipboard_cb(GtkIMHtml *imhtml, gpointer blah) |
964 { | 964 { |
965 #ifdef _WIN32 | 965 #ifdef _WIN32 |
966 /* If we're on windows, let's see if we can get data from the HTML Format | 966 /* If we're on windows, let's see if we can get data from the HTML Format |
967 clipboard before we try to paste from the GTK buffer */ | 967 clipboard before we try to paste from the GTK+ buffer */ |
968 HGLOBAL hdata; | 968 HGLOBAL hdata; |
969 DWORD err; | 969 DWORD err; |
970 char *buffer; | 970 char *buffer; |
971 char *text; | 971 char *text; |
972 | 972 |
1138 if (imhtml->search_string) | 1138 if (imhtml->search_string) |
1139 g_free(imhtml->search_string); | 1139 g_free(imhtml->search_string); |
1140 G_OBJECT_CLASS(parent_class)->finalize (object); | 1140 G_OBJECT_CLASS(parent_class)->finalize (object); |
1141 } | 1141 } |
1142 | 1142 |
1143 /* Boring GTK stuff */ | 1143 /* Boring GTK+ stuff */ |
1144 static void gtk_imhtml_class_init (GtkIMHtmlClass *klass) | 1144 static void gtk_imhtml_class_init (GtkIMHtmlClass *klass) |
1145 { | 1145 { |
1146 GtkWidgetClass *widget_class = (GtkWidgetClass *) klass; | 1146 GtkWidgetClass *widget_class = (GtkWidgetClass *) klass; |
1147 GtkObjectClass *object_class; | 1147 GtkObjectClass *object_class; |
1148 GtkBindingSet *binding_set; | 1148 GtkBindingSet *binding_set; |