mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00

We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
808 B
Diff
26 lines
808 B
Diff
From 9a5537d2b0aba18438dd77a45354ac2e73eae23d Mon Sep 17 00:00:00 2001
|
|
From: Alexander Myltsev <avm@altlinux.ru>
|
|
Date: Mon, 13 Dec 2010 23:24:30 +0300
|
|
Subject: [PATCH] GTK_WIDGET_SET_FLAGS -> gtk_widget_set_can_focus
|
|
|
|
---
|
|
gdmap/src/gui_support.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/src/gui_support.c b/src/gui_support.c
|
|
index 45272d3..ca02d72 100644
|
|
--- a/src/gui_support.c
|
|
+++ b/src/gui_support.c
|
|
@@ -164,7 +164,7 @@ GtkWidget* ui_create_event_label(const char* text, GCallback callback,
|
|
// GDK_FOCUS_CHANGE_MASK |
|
|
GDK_ENTER_NOTIFY_MASK |
|
|
GDK_LEAVE_NOTIFY_MASK);
|
|
- GTK_WIDGET_SET_FLAGS(ebox, GTK_CAN_FOCUS);
|
|
+ gtk_widget_set_can_focus(ebox, TRUE);
|
|
|
|
gtk_widget_show(ebox);
|
|
|
|
--
|
|
1.7.3.3
|
|
|