anjuta r4765 - in trunk: . plugins/debug-manager plugins/gtodo plugins/scintilla plugins/scintilla/scintilla
- From: aklapper svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4765 - in trunk: . plugins/debug-manager plugins/gtodo plugins/scintilla plugins/scintilla/scintilla
- Date: Thu, 19 Feb 2009 00:46:01 +0000 (UTC)
Author: aklapper
Date: Thu Feb 19 00:46:01 2009
New Revision: 4765
URL: http://svn.gnome.org/viewvc/anjuta?rev=4765&view=rev
Log:
2009-02-19 Andre Klapper <a9016009 gmx de>
* plugins/debug-manager/sharedlib.c:
* plugins/debug-manager/signals.c:
* plugins/gtodo/interface.c:
* plugins/gtodo/mcategory.c:
* plugins/scintilla/scintilla/PlatGTK.cxx:
* plugins/scintilla/scintilla/test-scintilla.cxx:
* plugins/scintilla/text_editor.c:
Replace deprecated gtk_widget_set_usize by gtk_widget_set_size_request
Modified:
trunk/ChangeLog
trunk/plugins/debug-manager/sharedlib.c
trunk/plugins/debug-manager/signals.c
trunk/plugins/gtodo/interface.c
trunk/plugins/gtodo/mcategory.c
trunk/plugins/scintilla/scintilla/PlatGTK.cxx
trunk/plugins/scintilla/scintilla/test-scintilla.cxx
trunk/plugins/scintilla/text_editor.c
Modified: trunk/plugins/debug-manager/sharedlib.c
==============================================================================
--- trunk/plugins/debug-manager/sharedlib.c (original)
+++ trunk/plugins/debug-manager/sharedlib.c Thu Feb 19 00:46:01 2009
@@ -211,7 +211,7 @@
AnjutaUI *ui;
window3 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_usize (window3, 170, -2);
+ gtk_widget_set_size_request (window3, 170, -2);
gtk_window_set_title (GTK_WINDOW (window3), _("Shared libraries"));
gtk_window_set_wmclass (GTK_WINDOW (window3), "sharedlibs", "Anjuta");
gtk_window_set_default_size (GTK_WINDOW (window3), 240, 230);
Modified: trunk/plugins/debug-manager/signals.c
==============================================================================
--- trunk/plugins/debug-manager/signals.c (original)
+++ trunk/plugins/debug-manager/signals.c Thu Feb 19 00:46:01 2009
@@ -349,7 +349,7 @@
AnjutaUI *ui;
window3 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_usize (window3, 170, -2);
+ gtk_widget_set_size_request (window3, 170, -2);
gtk_window_set_title (GTK_WINDOW (window3), _("Kernel signals"));
gtk_window_set_wmclass (GTK_WINDOW (window3), "signals", "Anjuta");
gtk_window_set_default_size (GTK_WINDOW (window3), 240, 230);
Modified: trunk/plugins/gtodo/interface.c
==============================================================================
--- trunk/plugins/gtodo/interface.c (original)
+++ trunk/plugins/gtodo/interface.c Thu Feb 19 00:46:01 2009
@@ -141,7 +141,7 @@
/* add drop down menu's */
mw.option = gtk_option_menu_new();
mw.menu = gtk_menu_new();
- // gtk_widget_set_usize(mw.option, 120 , -1);
+ // gtk_widget_set_size_request(mw.option, 120 , -1);
gtk_option_menu_set_menu(GTK_OPTION_MENU(mw.option), mw.menu);
gtk_box_pack_start(GTK_BOX(mw.toolbar), mw.option, FALSE, FALSE, 0);
Modified: trunk/plugins/gtodo/mcategory.c
==============================================================================
--- trunk/plugins/gtodo/mcategory.c (original)
+++ trunk/plugins/gtodo/mcategory.c Thu Feb 19 00:46:01 2009
@@ -74,7 +74,7 @@
gtk_list_store_set(list, &iter, 0, mw.mitems[i]->date, 1, 1, -1);
}
- gtk_widget_set_usize(GTK_WIDGET(dialog), 350, 250);
+ gtk_widget_set_size_request(GTK_WIDGET(dialog), 350, 250);
gtk_widget_show_all(dialog);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
Modified: trunk/plugins/scintilla/scintilla/PlatGTK.cxx
==============================================================================
--- trunk/plugins/scintilla/scintilla/PlatGTK.cxx (original)
+++ trunk/plugins/scintilla/scintilla/PlatGTK.cxx Thu Feb 19 00:46:01 2009
@@ -1760,7 +1760,7 @@
#else
gtk_widget_set_uposition(id, rc.left, rc.top);
- gtk_widget_set_usize(id, rc.right - rc.left, rc.bottom - rc.top);
+ gtk_widget_set_size_request(id, rc.right - rc.left, rc.bottom - rc.top);
#endif
}
@@ -1797,7 +1797,7 @@
alloc.height = rc.bottom - rc.top;
gtk_widget_size_allocate(id, &alloc);
#endif
- gtk_widget_set_usize(PWidget(id), sizex, sizey);
+ gtk_widget_set_size_request(PWidget(id), sizex, sizey);
}
PRectangle Window::GetClientPosition() {
@@ -2178,14 +2178,14 @@
+ 2 * (ythickness
+ GTK_CONTAINER(PWidget(list))->border_width + 1));
#endif
- gtk_widget_set_usize(GTK_WIDGET(PWidget(list)), -1, height);
+ gtk_widget_set_size_request(GTK_WIDGET(PWidget(list)), -1, height);
// Get the size of the scroller because we set usize on the window
gtk_widget_size_request(GTK_WIDGET(scroller), &req);
rc.right = req.width;
rc.bottom = req.height;
- gtk_widget_set_usize(GTK_WIDGET(list), -1, -1);
+ gtk_widget_set_size_request(GTK_WIDGET(list), -1, -1);
int width = maxItemCharacters;
if (width < 12)
width = 12;
Modified: trunk/plugins/scintilla/scintilla/test-scintilla.cxx
==============================================================================
--- trunk/plugins/scintilla/scintilla/test-scintilla.cxx (original)
+++ trunk/plugins/scintilla/scintilla/test-scintilla.cxx Thu Feb 19 00:46:01 2009
@@ -95,7 +95,7 @@
gtk_container_add (GTK_CONTAINER(win), sci);
g_signal_connect (G_OBJECT (win), "delete-event",
G_CALLBACK (gtk_main_quit), NULL);
- gtk_widget_set_usize (GTK_WIDGET (win), 500, 600);
+ gtk_widget_set_size_request (GTK_WIDGET (win), 500, 600);
gtk_window_set_default_size (GTK_WINDOW (win), 500, 600);
gtk_widget_show (sci);
gtk_widget_show (win);
Modified: trunk/plugins/scintilla/text_editor.c
==============================================================================
--- trunk/plugins/scintilla/text_editor.c (original)
+++ trunk/plugins/scintilla/text_editor.c Thu Feb 19 00:46:01 2009
@@ -235,7 +235,7 @@
(glong) app->accel_group, 0);
*/
- gtk_widget_set_usize (scintilla, 50, 50);
+ gtk_widget_set_size_request (scintilla, 50, 50);
gtk_widget_show (scintilla);
gtk_box_set_spacing (GTK_BOX (te->vbox), 3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]