| 155 gaim_conversation_destroy(conv); |
155 gaim_conversation_destroy(conv); |
| 156 } |
156 } |
| 157 } |
157 } |
| 158 |
158 |
| 159 static void |
159 static void |
| 160 size_changed_cb(GntWidget *w, int width, int height) |
160 size_changed_cb(GntWidget *widget, int width, int height) |
| 161 { |
161 { |
| 162 gaim_prefs_set_int(PREF_ROOT "/size/width", width); |
162 int w, h; |
| 163 gaim_prefs_set_int(PREF_ROOT "/size/height", height); |
163 gnt_widget_get_size(widget, &w, &h); |
| |
164 gaim_prefs_set_int(PREF_ROOT "/size/width", w); |
| |
165 gaim_prefs_set_int(PREF_ROOT "/size/height", h); |
| 164 } |
166 } |
| 165 |
167 |
| 166 static void |
168 static void |
| 167 save_position_cb(GntWidget *w, int x, int y) |
169 save_position_cb(GntWidget *w, int x, int y) |
| 168 { |
170 { |