Mercurial > dwindows
comparison gtk/dw.c @ 1307:1c3ff83d0d4b
Fixed some typos in the GTK2 commit.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 03 Nov 2011 23:41:52 +0000 |
parents | dbd507f42947 |
children | c969db49606e |
comparison
equal
deleted
inserted
replaced
1306:dbd507f42947 | 1307:1c3ff83d0d4b |
---|---|
1244 | 1244 |
1245 snprintf(text, 100, "_dw_sigcid%d", counter); | 1245 snprintf(text, 100, "_dw_sigcid%d", counter); |
1246 cid = GPOINTER_TO_INT(gtk_object_get_data(GTK_OBJECT(widget), text)); | 1246 cid = GPOINTER_TO_INT(gtk_object_get_data(GTK_OBJECT(widget), text)); |
1247 gtk_signal_disconnect(GTK_OBJECT(widget), cid); | 1247 gtk_signal_disconnect(GTK_OBJECT(widget), cid); |
1248 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); | 1248 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); |
1249 sbprintf(text, 100, "_dw_sigwindow%d", counter); | 1249 snprintf(text, 100, "_dw_sigwindow%d", counter); |
1250 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); | 1250 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); |
1251 sbprintf(text, 100, "_dw_sigfunc%d", counter); | 1251 snprintf(text, 100, "_dw_sigfunc%d", counter); |
1252 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); | 1252 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); |
1253 sbprintf(text, 100, "_dw_intfunc%d", counter); | 1253 snprintf(text, 100, "_dw_intfunc%d", counter); |
1254 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); | 1254 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); |
1255 sbprintf(text, 100, "_dw_sigdata%d", counter); | 1255 snprintf(text, 100, "_dw_sigdata%d", counter); |
1256 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); | 1256 gtk_object_set_data(GTK_OBJECT(widget), text, NULL); |
1257 } | 1257 } |
1258 | 1258 |
1259 static int _set_signal_handler(GtkWidget *widget, HWND window, void *func, gpointer data, void *intfunc) | 1259 static int _set_signal_handler(GtkWidget *widget, HWND window, void *func, gpointer data, void *intfunc) |
1260 { | 1260 { |