Mercurial > dwindows
comparison gtk3/dw.c @ 885:21ed1421399c
Removed some dead code from GTK3.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 07 Apr 2011 09:04:48 +0000 |
parents | 0f99520041c4 |
children | 82f68adde8a0 |
comparison
equal
deleted
inserted
replaced
884:0f99520041c4 | 885:21ed1421399c |
---|---|
10388 { | 10388 { |
10389 HWND thiswindow = window; | 10389 HWND thiswindow = window; |
10390 | 10390 |
10391 if(GTK_IS_SCROLLED_WINDOW(thiswindow)) | 10391 if(GTK_IS_SCROLLED_WINDOW(thiswindow)) |
10392 thiswindow = (HWND)g_object_get_data(G_OBJECT(window), "_dw_user"); | 10392 thiswindow = (HWND)g_object_get_data(G_OBJECT(window), "_dw_user"); |
10393 #if 0 | |
10394 else if(GTK_IS_COMBO_BOX(thiswindow) && signame && strcmp(signame, DW_SIGNAL_LIST_SELECT) == 0) | |
10395 thiswindow = GTK_COMBO_BOX(thiswindow)->list; | |
10396 else if(GTK_IS_COMBO_BOX(thiswindow) && signame && strcmp(signame, DW_SIGNAL_SET_FOCUS) == 0) | |
10397 thiswindow = GTK_COMBO_BOX(thiswindow)->entry; | |
10398 #endif | |
10399 else if(GTK_IS_VSCALE(thiswindow) || GTK_IS_HSCALE(thiswindow) || | 10393 else if(GTK_IS_VSCALE(thiswindow) || GTK_IS_HSCALE(thiswindow) || |
10400 GTK_IS_VSCROLLBAR(thiswindow) || GTK_IS_HSCROLLBAR(thiswindow) || | 10394 GTK_IS_VSCROLLBAR(thiswindow) || GTK_IS_HSCROLLBAR(thiswindow) || |
10401 GTK_IS_SPIN_BUTTON(thiswindow)) | 10395 GTK_IS_SPIN_BUTTON(thiswindow)) |
10402 thiswindow = (GtkWidget *)g_object_get_data(G_OBJECT(thiswindow), "_dw_adjustment"); | 10396 thiswindow = (GtkWidget *)g_object_get_data(G_OBJECT(thiswindow), "_dw_adjustment"); |
10403 else if(GTK_IS_TREE_VIEW(thiswindow) && strcmp(signame, DW_SIGNAL_ITEM_SELECT) == 0) | 10397 else if(GTK_IS_TREE_VIEW(thiswindow) && strcmp(signame, DW_SIGNAL_ITEM_SELECT) == 0) |