[patch] GtkCombo
- From: Daniel Skarda <0rfelyus atrey karlin mff cuni cz>
- To: gtk-list redhat com
- Subject: [patch] GtkCombo
- Date: Sat, 28 Mar 1998 17:25:06 +0100
Hello,
there is small patch which fixes small gtk_combo_disable_activate bug. Also I
appended small gtk.defs patch (agains gtk.defs from gnome CVS in gnome-guile -
not gtk.defs from gtk+-0.99.9)
Dan
--- gtkcombo.c.orig Sat Mar 28 14:57:35 1998
+++ gtkcombo.c Sat Mar 28 14:58:25 1998
@@ -679,7 +679,7 @@
g_return_if_fail (GTK_IS_COMBO (combo));
if ( combo->activate_id ) {
- gtk_signal_disconnect(GTK_OBJECT(combo), combo->activate_id);
+ gtk_signal_disconnect(GTK_OBJECT(combo->entry), combo->activate_id);
combo->activate_id = 0;
}
}
--- gtk.defs.orig Sat Mar 28 13:49:19 1998
+++ gtk.defs Sat Mar 28 14:11:45 1998
@@ -1774,6 +1774,10 @@
(GtkItem item)
(string item_value)))
+(define-func gtk_combo_disable_activate
+ none
+ ((GtkCombo combo)))
+
;; XXX - need GList support for this to work
;; (define-func gtk_combo_set_popdown_strings)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]